- store search bug fix (vendor store)

This commit is contained in:
gazebo
2018-11-27 11:44:51 +08:00
parent 4fbfcdb13e
commit dde8bc9d20
2 changed files with 10 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ type WeiXins struct {
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"`
ParentID int `orm:"column(parentid);default(-1);index" json:"parentID"`
NickName string `orm:"column(nickname);size(30)" json:"nickname"`
}