这是一篇测试文章
引用文字
代码样式测试
看一下新的黑底代码样式
public JSONObject excute(HashMap queryMap)
{
if (EPGSysLogger.isDebug())
{
StringBuffer sb = new StringBuffer(128);
sb.append("[UpdateUserTokenService]Enter excute queryParm=" + queryMap);
EPGSysLogger.debug(sb.toString());
}
String userToken = "";
HttpServletRequest request = null;
if(null != queryMap && queryMap.size() != 0)
{
if(null != queryMap.get(OttUtil.USER_TOKEN))
{
userToken = queryMap.get(OttUtil.USER_TOKEN).toString();
}
if(null != queryMap.get(OttUtil.REQUEST))
{
request = (HttpServletRequest)queryMap.get(OttUtil.REQUEST);
}
}
JSONObject resultJSON = new JSONObject();
resultJSON = updateUserToken(userToken, request);
if (EPGSysLogger.isDebug())
{
StringBuffer sb = new StringBuffer(128);
sb.append("[UpdateUserTokenService]Exit excute");
sb.append(resultJSON.get(OttUtil.CODE));
EPGSysLogger.debug(sb.toString());
}
return resultJSON;
}
原文地址:https://www.cnblogs.com/z00377750/p/9111789.html
时间: 2024-10-12 18:36:34