aa
This commit is contained in:
@@ -466,11 +466,11 @@ func GetStoreList4User(ctx *jxcontext.Context, mobileNum, userID string) (storeL
|
||||
return storeList, err
|
||||
}
|
||||
|
||||
func GetMyStoreListNew(ctx *jxcontext.Context, mobile string) (storesInfo interface{}, errCode string, err error) {
|
||||
func GetMyStoreListNew(ctx *jxcontext.Context) (storesInfo interface{}, errCode string, err error) {
|
||||
if !auth2.IsV2Token(ctx.GetToken()) {
|
||||
return nil, model.ErrCodeTokenIsInvalid, model.ErrTokenIsInvalid
|
||||
}
|
||||
userID := ctx.GetUserID()
|
||||
mobile, userID := ctx.GetMobileAndUserID()
|
||||
if mobile == "" {
|
||||
return nil, "", fmt.Errorf("不能得到用户手机号")
|
||||
}
|
||||
@@ -495,6 +495,11 @@ func GetMyStoreListNew(ctx *jxcontext.Context, mobile string) (storesInfo interf
|
||||
return storesInfo, "", err
|
||||
}
|
||||
|
||||
func SolveNullMobileUser(ctx *jxcontext.Context) (err error) {
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
func GetStoreRoleList(ctx *jxcontext.Context) (roleList []*authz.RoleInfo, err error) {
|
||||
return authz.StoreRoleList, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user