Commit 35eda044 by zhouhb

[+]代码修改

1 parent 41b2f65c
...@@ -18,62 +18,62 @@ public class DubboConfig { ...@@ -18,62 +18,62 @@ public class DubboConfig {
@Bean @Bean
public MerchantProductRemote getMerchantProductRemote() { 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 @Bean
public MerchantProductMenuRemote getMerchantProductMenuRemote() { 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 @Bean
public MerchantDictTypeRemote getMerchantDictTypeRemote() { 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 @Bean
public MerchantDictDataRemote getMerchantDictDataRemote() { 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 @Bean
public MerchantProductFunctionRemote getMerchantProductFunctionRemote() { 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 @Bean
public MerchantLogRemote getMerchantLogRemote() { 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 @Bean
public MerchantUserRemote getMerchantUserRemote() { 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 @Bean
public MerchantFileRemote getMerchantFileRemote() { 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 @Bean
public MerchantAccountTypeRemote getMerchantAccountTypeRemote() { 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 @Bean
public MerchantRoleRemote getMerchantRoleRemote() { 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 @Bean
public MerchantRemote getMerchantRemote() { 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 @Bean
public MerchantStaffRemote getMerchantStaffRemote() { 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 @Bean
......
...@@ -26,6 +26,12 @@ public class LoginResponse { ...@@ -26,6 +26,12 @@ public class LoginResponse {
private String sessionId; 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") @ApiModelProperty(name = "accountLevel", notes = "账户层级", dataType = "string", required = true, example = "asdfasdf23423432432")
......
...@@ -64,6 +64,7 @@ public class LoginService { ...@@ -64,6 +64,7 @@ public class LoginService {
response.setMerchantId(result.getBussinessId()); response.setMerchantId(result.getBussinessId());
response.setAccountLevel(result.getAccountLevel()); response.setAccountLevel(result.getAccountLevel());
response.setStatus(result.getStatus()); response.setStatus(result.getStatus());
return response; return response;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!