shopId undefined 返回信息
This commit is contained in:
@@ -70,6 +70,9 @@ public class UserContoller {
|
||||
|
||||
@GetMapping("/shopUserInfo")
|
||||
public Result shopUserInfo(@RequestParam("userId") String userId, @RequestHeader("openId") String openId, @RequestParam("shopId") String shopId) throws Exception {
|
||||
if(shopId.equals("undefined")){
|
||||
return Result.fail("店铺信息错误,请联系管理员!");
|
||||
}
|
||||
TbShopUser shopUser = new TbShopUser();
|
||||
TbShopInfo tbShopInfo = new TbShopInfo();
|
||||
if (StringUtils.isNotBlank(shopId) && !shopId.equals("null")) {
|
||||
|
||||
Reference in New Issue
Block a user