From fe11b0f211f12463703cac8c82ae83ea7235c146 Mon Sep 17 00:00:00 2001 From: wangpengfei <1928057482@qq.com> Date: Wed, 7 Feb 2024 17:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=99=E9=BB=98=E7=99=BB=E5=BD=95=E8=8E=B7?= =?UTF-8?q?=E5=8F=96unionid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yxt/yythmall/biz/lpkcustomer/LpkCustomerService.java | 9 ++++++--- .../newcomerrecorecord/NewcomerRecoRecordService.java | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yxt/yythmall/biz/lpkcustomer/LpkCustomerService.java b/src/main/java/com/yxt/yythmall/biz/lpkcustomer/LpkCustomerService.java index 45bb2e6..350ec67 100644 --- a/src/main/java/com/yxt/yythmall/biz/lpkcustomer/LpkCustomerService.java +++ b/src/main/java/com/yxt/yythmall/biz/lpkcustomer/LpkCustomerService.java @@ -24,7 +24,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; -import org.springframework.web.bind.annotation.RequestPart; import org.springframework.web.client.RestTemplate; import org.springframework.web.multipart.MultipartFile; @@ -94,7 +93,7 @@ public class LpkCustomerService extends MybatisBaseService map = new HashMap<>(); // map.put("unionid",unionid); @@ -106,7 +105,7 @@ public class LpkCustomerService extends MybatisBaseService bags=recommendNewUserBagService.list(new QueryWrapper().eq("isGrounding","1")); + if(StringUtils.isBlank(dto.getCustomerSid())){ + return rb.setMsg("参数不全"); + } if(bags.size()==0){ newcomerRecoRecord.setSid(""); return rb.success().setData(newcomerRecoRecord);