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);