|
@@ -86,8 +86,8 @@ func (l *MsgDistributorLogic) MsgDistributor(in *bxsubscribe.MsgDistributorReq)
|
|
|
}
|
|
|
//分发数据库修改
|
|
|
ok := IC.PushMysql.ExecTx("分发数据库修改", func(tx *sql.Tx) bool {
|
|
|
- insertRow := []string{"entid", "deptid", "infoid", "matchkeys", "type", "product", "matchways", "matchitems", "disid", "source", "date", "userid", "isvisit", "visittime", "pid"}
|
|
|
- msgItems := []string{"entid", "deptid", "infoid", "matchkeys", "type", "product", "matchways", "matchitems", "disid"}
|
|
|
+ insertRow := []string{"entid", "deptid", "infoid", "matchkeys", "type", "product", "matchways", "matchitems", "disid", "area", "city", "buyerclass", "toptype", "subtype", "subscopeclass", "budget", "bidamount", "attachment_count", "source", "date", "userid", "isvisit", "visittime", "pid"}
|
|
|
+ msgItems := []string{"entid", "deptid", "infoid", "matchkeys", "type", "product", "matchways", "matchitems", "disid", "area", "city", "buyerclass", "toptype", "subtype", "subscopeclass", "budget", "bidamount", "attachment_count"}
|
|
|
dateNew := time.Now().Unix()
|
|
|
for _, m := range *msgRes {
|
|
|
var msgValues, insertValue []interface{}
|