Commit 87cc26f6 by zhouhb

[+]代码修改

1 parent d89c1e1a
......@@ -266,6 +266,16 @@ public class MerchantRopResponse {
private Long numberOfSubMerchants;
/**
* 经度
*/
private Float lng;
/**
* 纬度
*/
private Float lat;
/**
* 关联关系
*/
private List<AccountTypeTreeRopResponse> accountTypes;
......
package cn.com.glsx.merchants.service;
import cn.com.glsx.framework.core.enums.DefaultErrorEnum;
import cn.com.glsx.framework.core.exception.RpcServiceException;
import cn.com.glsx.merchants.contants.Contants;
import cn.com.glsx.merchants.request.user.MerchantUser;
import com.rop.AbstractRopRequest;
......@@ -39,12 +41,8 @@ public class MerchantUserService {
user.setRealname((String) session.getAttribute(Contants.USER_NAME));
user.setId((Integer) session.getAttribute(Contants.USER_ID));
} else {
user.setId(9);
user.setUsername("123456");
user.setRealname("超级管理员");
throw new RpcServiceException(DefaultErrorEnum.SERVER_ERROR);
}
//throw new RpcServiceException(DefaultErrorEnum.SERVER_ERROR);
merchantUser.setSource(Contants.SYSTEM_SOURCE_USER);
} else {
merchantUser.setSource(Contants.SYSTEM_SOURCE_OPERATION);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!