feat:完善信息
This commit is contained in:
11
app/enterprise/model/sys_industry.go
Normal file
11
app/enterprise/model/sys_industry.go
Normal file
@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import "SciencesServer/app/common/model"
|
||||
|
||||
type SysIndustry struct {
|
||||
*model.SysIndustry
|
||||
}
|
||||
|
||||
func NewSysIndustry() *SysIndustry {
|
||||
return &SysIndustry{SysIndustry: model.NewSysIndustry()}
|
||||
}
|
@ -9,7 +9,7 @@ type UserTenant struct {
|
||||
}
|
||||
|
||||
func (m *UserTenant) LastChooseInfo(uid uint64) error {
|
||||
_, err := model.FirstField(m.UserTenant, []string{"id", "uuid", "avatar", "identity"},
|
||||
_, err := model.FirstField(m.UserTenant, []string{"id", "uid", "avatar", "identity"},
|
||||
model.NewWhere("uid", uid),
|
||||
model.NewWhere("selected", model.UserTenantSelectedForYes))
|
||||
return err
|
||||
|
Reference in New Issue
Block a user