登录返回主店Id
This commit is contained in:
@@ -151,7 +151,7 @@ public class AuthorizationController {
|
|||||||
put("user", jwtUserDto);
|
put("user", jwtUserDto);
|
||||||
if (byAccount != null) {
|
if (byAccount != null) {
|
||||||
put("shopId", byAccount.getId());
|
put("shopId", byAccount.getId());
|
||||||
put("mainId", byAccount.getId());
|
put("mainId", org.apache.commons.lang3.StringUtils.isNotBlank(byAccount.getMainId())?byAccount.getMainId():byAccount.getId());
|
||||||
put("loginType", org.apache.commons.lang3.StringUtils.isNotBlank(authUser.getLoginType())?authUser.getLoginType():"merchant");
|
put("loginType", org.apache.commons.lang3.StringUtils.isNotBlank(authUser.getLoginType())?authUser.getLoginType():"merchant");
|
||||||
put("shopName", byAccount.getShopName());
|
put("shopName", byAccount.getShopName());
|
||||||
put("logo", byAccount.getLogo());
|
put("logo", byAccount.getLogo());
|
||||||
|
|||||||
Reference in New Issue
Block a user