|
|
|
@ -28,6 +28,7 @@ public class FindSimilarProductsService extends SPIBaseService implements Extens
|
|
|
|
|
@Override
|
|
|
|
|
public BaseResponse<String> handle(BaseRequest<FindSimilarProductsRequestDTO> req) {
|
|
|
|
|
initHandle(req);
|
|
|
|
|
getAuthCode();
|
|
|
|
|
// ----参数校验----
|
|
|
|
|
FindSimilarProductsRequestDTO fields = req.getData();
|
|
|
|
|
|
|
|
|
@ -35,10 +36,8 @@ public class FindSimilarProductsService extends SPIBaseService implements Extens
|
|
|
|
|
|
|
|
|
|
// ----业务处理----
|
|
|
|
|
HashMap<String, Object> params = new HashMap<>();
|
|
|
|
|
params.put("","");
|
|
|
|
|
|
|
|
|
|
// img url 图片URl 是
|
|
|
|
|
// authCode string 是
|
|
|
|
|
params.put("img",fields.getImg());
|
|
|
|
|
params.put("authCode",authCode);
|
|
|
|
|
|
|
|
|
|
String res = null;
|
|
|
|
|
try {
|
|
|
|
|