提交 7d88b750 编写于 作者: Y youyong205

fix mobile api code number

上级 5242a35a
...@@ -104,8 +104,10 @@ public class Handler implements PageHandler<Context>, LogEnabled { ...@@ -104,8 +104,10 @@ public class Handler implements PageHandler<Context>, LogEnabled {
entity.setErrorCode(errorCode); entity.setErrorCode(errorCode);
entity.setIp(userIp); entity.setIp(userIp);
if (payload.getVersion().equals("1")) { if ("200".equals(httpStatus)) {
entity.setCount(10); entity.setCount(10);
} else {
entity.setCount(1);
} }
m_manager.offer(entity); m_manager.offer(entity);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册