- GetMyStoreList 返回城市名

This commit is contained in:
gazebo
2019-07-31 15:17:13 +08:00
parent e853b45176
commit 75e5e99273
2 changed files with 10 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ func getMobileFromCtx(ctx *jxcontext.Context) (mobile string) {
return mobile
}
func GetMyStoreList(ctx *jxcontext.Context) (storeList []*model.Store, err error) {
func GetMyStoreList(ctx *jxcontext.Context) (storeList []*dao.StoreWithCityName, err error) {
mobileNum := getMobileFromCtx(ctx)
if mobileNum == "" {
return nil, fmt.Errorf("不能得到用户手机号")