删除排序

master
WeiRan 2024-09-07 01:04:59 +08:00
parent 6bfc8fab0b
commit dd4ea9a45b
4 changed files with 3 additions and 12 deletions

View File

@ -5,7 +5,7 @@ import com.muyu.cloud.background.domin.realname.RealNameReq;
import com.muyu.cloud.background.domin.realname.RealNameResp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

View File

@ -10,7 +10,6 @@ import com.muyu.cloud.background.domin.realname.ali.RealNameAliReq;
import com.muyu.cloud.background.domin.realname.ali.RealNameAliResp;
import com.muyu.data.mart.util.HttpUtils;
import org.apache.http.HttpResponse;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.boot.configurationprocessor.json.JSONObject;
import org.springframework.stereotype.Service;
@ -34,7 +33,7 @@ public class RealNameServiceImpl implements BasicApi<RealNameReq, RealNameResp>
AliResult<RealNameAliResp> realNameAliRespAliResult = null;
try {
realNameAliRespAliResult = sendApi(realNameAliReq);
} catch (JSONException e) {
} catch (Exception e) {
throw new RuntimeException(e);
}
return RealNameResp.builder()

View File

@ -1,13 +1,6 @@
package com.muyu.cloud.background.common;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.N;
import org.springframework.boot.configurationprocessor.json.JSONException;
import java.io.IOException;
/**
* @Authorweiran
@ -23,5 +16,5 @@ public interface BasicApi<REQ,RES> {
* @param req
* @return
*/
RES send(REQ req) throws IOException, JSONException;
RES send(REQ req) ;
}

View File

@ -7,7 +7,6 @@ import com.muyu.cloud.background.domin.realname.juhe.RealNameJuHeResp;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;