Commit 35eda044 by zhouhb

[+]代码修改

1 parent 41b2f65c
......@@ -18,62 +18,62 @@ public class DubboConfig {
@Bean
public MerchantProductRemote getMerchantProductRemote() {
return factory.builder(MerchantProductRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantProductRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantProductMenuRemote getMerchantProductMenuRemote() {
return factory.builder(MerchantProductMenuRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantProductMenuRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantDictTypeRemote getMerchantDictTypeRemote() {
return factory.builder(MerchantDictTypeRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantDictTypeRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantDictDataRemote getMerchantDictDataRemote() {
return factory.builder(MerchantDictDataRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantDictDataRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantProductFunctionRemote getMerchantProductFunctionRemote() {
return factory.builder(MerchantProductFunctionRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantProductFunctionRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantLogRemote getMerchantLogRemote() {
return factory.builder(MerchantLogRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantLogRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantUserRemote getMerchantUserRemote() {
return factory.builder(MerchantUserRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantUserRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantFileRemote getMerchantFileRemote() {
return factory.builder(MerchantFileRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantFileRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantAccountTypeRemote getMerchantAccountTypeRemote() {
return factory.builder(MerchantAccountTypeRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantAccountTypeRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantRoleRemote getMerchantRoleRemote() {
return factory.builder(MerchantRoleRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantRoleRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantRemote getMerchantRemote() {
return factory.builder(MerchantRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
public MerchantStaffRemote getMerchantStaffRemote() {
return factory.builder(MerchantStaffRemote.class).check(false).timeout(30000).version("2.0.0").url("dubbo://192.168.3.191:22889").build();
return factory.builder(MerchantStaffRemote.class).check(false).timeout(30000).version("2.0.0").build();
}
@Bean
......
......@@ -26,6 +26,12 @@ public class LoginResponse {
private String sessionId;
/**
* 登录名
*/
@ApiModelProperty(name = "merchantName", notes = "登录名", dataType = "string", required = true, example = "asdfasdf23423432432")
private String merchantName;
/**
* 账户层级
*/
@ApiModelProperty(name = "accountLevel", notes = "账户层级", dataType = "string", required = true, example = "asdfasdf23423432432")
......
......@@ -64,6 +64,7 @@ public class LoginService {
response.setMerchantId(result.getBussinessId());
response.setAccountLevel(result.getAccountLevel());
response.setStatus(result.getStatus());
return response;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!