|
@@ -32,6 +32,7 @@ type WxUser struct {
|
|
OpenId string `orm:"column(open_id)" description:"微信openid"`
|
|
OpenId string `orm:"column(open_id)" description:"微信openid"`
|
|
Headimgurl string `description:"用户头像,最后一个数值代表正方形头像大小(有0、46、64、96、132数值可选,0代表640*640正方形头像),用户没有头像时该项为空"`
|
|
Headimgurl string `description:"用户头像,最后一个数值代表正方形头像大小(有0、46、64、96、132数值可选,0代表640*640正方形头像),用户没有头像时该项为空"`
|
|
UserLabel string `description:"查研观向用户标签"`
|
|
UserLabel string `description:"查研观向用户标签"`
|
|
|
|
+ MarkGroup string `description:"标记分组"`
|
|
}
|
|
}
|
|
|
|
|
|
func AddWxUser(item *WxUser) (lastId int64, err error) {
|
|
func AddWxUser(item *WxUser) (lastId int64, err error) {
|
|
@@ -521,4 +522,4 @@ func GetWxUserListCompanyId(companyId int) (list []*WxUserItem, err error) {
|
|
sql := ` SELECT* FROM wx_user WHERE company_id = ? `
|
|
sql := ` SELECT* FROM wx_user WHERE company_id = ? `
|
|
_, err = o.Raw(sql, companyId).QueryRows(&list)
|
|
_, err = o.Raw(sql, companyId).QueryRows(&list)
|
|
return
|
|
return
|
|
-}
|
|
|
|
|
|
+}
|