删除排序
parent
6e6fd31090
commit
7808c86a71
|
@ -1,5 +1,6 @@
|
|||
package com.muyu.cloud.background.domin.realname;
|
||||
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
@ -20,5 +21,6 @@ public class RealNameResp {
|
|||
|
||||
private String code;
|
||||
|
||||
|
||||
private String msg;
|
||||
}
|
||||
|
|
|
@ -36,12 +36,6 @@
|
|||
<version>1.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>net.sf.json-lib</groupId>
|
||||
<artifactId>json-lib</artifactId>
|
||||
<version>2.4</version>
|
||||
<classifier>jdk13</classifier>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.muyu</groupId>
|
||||
|
|
|
@ -58,9 +58,9 @@ public class RealNameServiceImpl implements BasicApi<RealNameReq, RealNameResp>{
|
|||
//主从辅
|
||||
//假设聚合是主,阿里是从
|
||||
RealNameResp realNameResp = juHeRemoteService.realName(realNameReq);
|
||||
if (!realNameResp.getCode().equals(0) || !realNameResp.getMsg().equals("成功")){
|
||||
if (!realNameResp.getCode().equals(0) && !realNameResp.getMsg().equals("成功")){
|
||||
RealNameResp realNameResp1 = aliRemoteService.realName(realNameReq);
|
||||
if (!realNameResp1.getCode().equals(1) || !realNameResp1.getMsg().equals("认证成功")){
|
||||
if (!realNameResp1.getCode().equals(1) && !realNameResp1.getMsg().equals("认证成功")){
|
||||
throw new RuntimeException("线路正在抢修中!!!");
|
||||
}
|
||||
return realNameResp1;
|
||||
|
|
Loading…
Reference in New Issue