feat:完善项目信息

This commit is contained in:
henry
2022-01-04 11:59:58 +08:00
parent c3da1ebc51
commit e29371da3e
20 changed files with 357 additions and 62 deletions

View File

@ -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)

View File

@ -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)
}