This commit is contained in:
suyl
2021-04-28 17:22:40 +08:00
parent d9f3294893
commit 199ac9e495
2 changed files with 10 additions and 7 deletions

View File

@@ -89,12 +89,13 @@ func (c *User2Controller) GetUsers() {
// @Title 得到用户自己的门店列表
// @Description 得到用户自己的门店列表
// @Param token header string true "认证token"
// @Param mobile query string false "电话"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetMyStoreList [get]
func (c *User2Controller) GetMyStoreList() {
c.callGetMyStoreList(func(params *tUser2GetMyStoreListParams) (retVal interface{}, errCode string, err error) {
retVal, errCode, err = cms.GetMyStoreListNew(params.Ctx)
retVal, errCode, err = cms.GetMyStoreListNew(params.Ctx, params.Mobile)
return retVal, errCode, err
})
}