修改获取奖励类型列表
This commit is contained in:
@ -113,7 +113,7 @@ func (s *sRewardType) List(ctx context.Context, in *model.RewardTypeListIn) (out
|
|||||||
}
|
}
|
||||||
|
|
||||||
if in.OperatorRole == consts.MerchantRoleCode || in.OperatorRole == consts.StoreRoleCode {
|
if in.OperatorRole == consts.MerchantRoleCode || in.OperatorRole == consts.StoreRoleCode {
|
||||||
mod.Where("source", 2)
|
mod = mod.Where("source", 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 其余过滤条件
|
// 其余过滤条件
|
||||||
|
|||||||
Reference in New Issue
Block a user