feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-01 17:14:12 +08:00
parent 3abfe92add
commit 88077da6f0
10 changed files with 174 additions and 67 deletions

View File

@ -30,6 +30,16 @@ func (m *ManageExpert) TableName() string {
return "manage_expert"
}
func (m *ManageExpert) GetIndustryAttribute() []string {
out := make([]string, 0)
_ = utils.FromJSON(m.Industry, &out)
return out
}
func (m *ManageExpert) SetIndustryAttribute(value []string) {
m.Industry = utils.AnyToJSON(value)
}
func (m *ManageExpert) GetKeywordAttribute() []string {
keywords := make([]string, 0)
_ = utils.FromJSON(m.Keyword, &keywords)