登录接口返回是否是员工
This commit is contained in:
parent
e8f0147ada
commit
4b2a64ea72
|
|
@ -140,6 +140,7 @@ public class LoginService {
|
|||
accountMap.put("shopName", shopInfo.getShopName());
|
||||
}
|
||||
accountMap.put("uuid", uuid);
|
||||
accountMap.put("isStaff", loginReq.getLoginName().contains(account.getShopId() + "@"));
|
||||
redisUtil.saveMessage("CART:UUID:" + account.getShopId().concat(account.getId().toString()), uuid);
|
||||
|
||||
return Result.success(CodeEnum.SUCCESS, accountMap);
|
||||
|
|
|
|||
Loading…
Reference in New Issue