Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -34,7 +34,6 @@ public class MyStpLogic extends StpLogic {
|
||||
* @param isAdmin 是否为管理员账号
|
||||
*/
|
||||
public void login(Long id, Long shopId, boolean isManager, boolean isAdmin) {
|
||||
super.login(id);
|
||||
login(id);
|
||||
if (isManager && shopId == null) {
|
||||
throw new ApiNotPrintException("管理端登录必须传递店铺id");
|
||||
|
||||
@@ -21,5 +21,9 @@ public class ShopUserVipCardDTO {
|
||||
* 用户余额
|
||||
*/
|
||||
private BigDecimal amount;
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
package com.czg.account.service;
|
||||
|
||||
import com.czg.account.dto.shopuser.ShopUserAddDTO;
|
||||
import com.czg.account.dto.shopuser.ShopUserEditDTO;
|
||||
import com.czg.account.dto.shopuser.ShopUserMoneyEditDTO;
|
||||
import com.czg.account.dto.shopuser.ShopUserSummaryDTO;
|
||||
import com.czg.account.dto.shopuser.*;
|
||||
import com.czg.account.entity.ShopUser;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
@@ -31,6 +28,6 @@ public interface ShopUserService extends IService<ShopUser> {
|
||||
/**
|
||||
* 获取小程序登录用户所有店铺会员信息
|
||||
*/
|
||||
Page<ShopUser> vipCard(long userInfoId);
|
||||
Page<ShopUserVipCardDTO> vipCard(long userInfoId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user