作者 tangxvhui

Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go/oppmg into dev

@@ -99,7 +99,7 @@ func (this *TemplateController) TemplateUpdate() { @@ -99,7 +99,7 @@ func (this *TemplateController) TemplateUpdate() {
99 msg = m 99 msg = m
100 return 100 return
101 } 101 }
102 - if len([]rune(request.Template.Name)) > 10 { 102 + if len([]rune(request.Template.Name)) > 30 {
103 msg = protocol.BadRequestParam("10070") 103 msg = protocol.BadRequestParam("10070")
104 return 104 return
105 } 105 }
@@ -11,7 +11,7 @@ type AuditTemplate struct { @@ -11,7 +11,7 @@ type AuditTemplate struct {
11 Id int64 `orm:"column(id);auto" description:"唯一编号"` 11 Id int64 `orm:"column(id);auto" description:"唯一编号"`
12 CompanyId int `orm:"column(company_id)" description:"公司id"` 12 CompanyId int `orm:"column(company_id)" description:"公司id"`
13 ChanceTypeId int `orm:"column(chance_type_id)" description:"机会类型 chance_type.id"` 13 ChanceTypeId int `orm:"column(chance_type_id)" description:"机会类型 chance_type.id"`
14 - Name string `orm:"column(name);size(20)" description:"子分类名称"` 14 + Name string `orm:"column(name);size(100)" description:"子分类名称"`
15 Doc string `orm:"column(doc);size(255)" description:"说明"` 15 Doc string `orm:"column(doc);size(255)" description:"说明"`
16 Icon string `orm:"column(icon);size(255)" description:"图标"` 16 Icon string `orm:"column(icon);size(255)" description:"图标"`
17 Code string `orm:"column(code);size(50)" description:"编码"` 17 Code string `orm:"column(code);size(50)" description:"编码"`