1
This commit is contained in:
@@ -127,7 +127,7 @@ func (c *User2Controller) SolveNullMobileUser() {
|
|||||||
// @Param token header string true "认证token"
|
// @Param token header string true "认证token"
|
||||||
// @Success 200 {object} controllers.CallResult
|
// @Success 200 {object} controllers.CallResult
|
||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
// @router RoleList [get]
|
// @router GetStoreRoleList [get]
|
||||||
func (c *User2Controller) GetStoreRoleList() {
|
func (c *User2Controller) GetStoreRoleList() {
|
||||||
c.callGetStoreRoleList(func(params *tUser2GetStoreRoleListParams) (retVal interface{}, errCode string, err error) {
|
c.callGetStoreRoleList(func(params *tUser2GetStoreRoleListParams) (retVal interface{}, errCode string, err error) {
|
||||||
retVal, err = cms.GetStoreRoleList(params.Ctx)
|
retVal, err = cms.GetStoreRoleList(params.Ctx)
|
||||||
|
|||||||
8
main.go
8
main.go
@@ -158,10 +158,10 @@ func main() {
|
|||||||
globals.SugarLogger.Errorf("RefreshPushToken failed with error:%s", err)
|
globals.SugarLogger.Errorf("RefreshPushToken failed with error:%s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err := tasks.RefreshFnToken(); err != nil {
|
//if err := tasks.RefreshFnToken(); err != nil {
|
||||||
globals.SugarLogger.Errorf("RefreshFnToken failed with error:%s", err)
|
// globals.SugarLogger.Errorf("RefreshFnToken failed with error:%s", err)
|
||||||
return
|
// return
|
||||||
}
|
//}
|
||||||
if err := tasks.RefreshQywxToken(); err != nil {
|
if err := tasks.RefreshQywxToken(); err != nil {
|
||||||
globals.SugarLogger.Errorf("RefreshQywxToken failed with error:%s", err)
|
globals.SugarLogger.Errorf("RefreshQywxToken failed with error:%s", err)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user