- keyword doesn't search store address but want search owner's mobile.

This commit is contained in:
gazebo
2018-10-30 16:40:55 +08:00
parent 8313a52d49
commit 1bdb67864d
3 changed files with 15 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ package legacymodel
type WeiXins struct {
ID int `orm:"column(id)" json:"id"`
JxStoreID int `orm:"column(jxstoreid)" json:"storeID"`
JxStoreID int `orm:"column(jxstoreid);index" json:"storeID"`
OpenID string `orm:"column(openid);size(70);unique;null" json:"openID"`
Tel string `orm:"size(15);unique" json:"tel"`
ParentID int `orm:"column(parentid);default(-1)" json:"parentID"`