作者 tangxvhui

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

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