aa
This commit is contained in:
@@ -13,11 +13,11 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
|
||||
beego "github.com/astaxie/beego/adapter"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
)
|
||||
|
||||
type User2Controller struct {
|
||||
beego.Controller
|
||||
web.Controller
|
||||
}
|
||||
|
||||
// @Title 用户注册
|
||||
@@ -571,3 +571,16 @@ func (c *User2Controller) UpdateUserLastInfo() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询用户是否拥有当前店铺权限
|
||||
// @Description 查询用户是否拥有当前店铺权限
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID query int true "门店ID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetUserStoreAuth [get]
|
||||
func (c *User2Controller) GetUserStoreAuth() {
|
||||
c.callGetUserStoreAuth(func(params *tUser2GetUserStoreAuthParams) (retVal interface{}, errCode string, err error) {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user