|
@@ -60,6 +60,7 @@ func (a *AiForecastPack) CreateOrder() {
|
|
|
if entId > 0 {
|
|
|
buy_subject = 2
|
|
|
}
|
|
|
+ _, way := util.GetJyOrderChannel("", a.UserAgent())
|
|
|
order_id := util.Mysql.Insert("dataexport_order", map[string]interface{}{
|
|
|
"order_money": order_money,
|
|
|
"order_status": 0,
|
|
@@ -74,6 +75,7 @@ func (a *AiForecastPack) CreateOrder() {
|
|
|
"audit_status": 3, //默认审核通过
|
|
|
"buy_subject": buy_subject,
|
|
|
"ent_id": entId,
|
|
|
+ "order_channel": way,
|
|
|
})
|
|
|
log.Println("AI预测包购买订单", userId, order_id, code)
|
|
|
if order_id > 0 {
|