feat:完善项目信息
This commit is contained in:
@ -71,7 +71,7 @@ func (*Account) Logout(c *gin.Context) {
|
||||
|
||||
_session := session.NewEnterprise()
|
||||
|
||||
_ = service.NewAuthToken(token).Auth(_session)
|
||||
_ = service.NewAuthToken(token).Auth(config.RedisKeyForAccountEnterprise, _session)
|
||||
|
||||
err := account.NewLogout()(_session).Launch()
|
||||
api.APIResponse(err)(c)
|
||||
|
@ -518,7 +518,7 @@ func (*Technology) Product(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
data, err := technology2.NewProduct()(api.GetSession()(c).(*session.Enterprise), api.GetLocal()(c).(string)).
|
||||
List(form.Title, form.Status, form.Page, form.PageSize)
|
||||
Instance(form.Title, form.Status, form.Page, form.PageSize)
|
||||
api.APIResponse(err, data)(c)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user