修改小程端权限查看门店商品
This commit is contained in:
@@ -737,7 +737,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, upcs []strin
|
||||
|
||||
func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []string, isFocus, isHighPrice bool, priceType int, keyword string, isBySku, isAct bool, params map[string]interface{}, offset, pageSize int) (skuNamesInfo *dao.StoreSkuNamesInfo, err error) {
|
||||
// 管理员进入
|
||||
if permission.IsRoled(ctx) {
|
||||
if /*permission.IsRoled(ctx)*/ true {
|
||||
// 获取管理员绑定门店
|
||||
if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil {
|
||||
var storeIDs2 []int
|
||||
|
||||
Reference in New Issue
Block a user