查询相同类型的商品接口参数修改

20230922-ljl-fixBug
cxxxxxxx详 1 year ago
parent fb7ba76123
commit 875672b38b

@ -9,5 +9,5 @@ import lombok.Data;
public class FindSimilarProductsRequestDTO {
// searchSameProductImg file 图片图片上传方式java开发同前端开发约定 是
private String img;
}

@ -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 {

Loading…
Cancel
Save