|
@@ -51,7 +51,7 @@ func (w *WxDataExport) ToSieve() error {
|
|
|
"user_id": myUserId,
|
|
|
}
|
|
|
if orderCode != "" {
|
|
|
- orderDetail = *public.Mysql.FindOne("dataexport_order", queryMap, "filter,pay_way", "")
|
|
|
+ orderDetail = *public.Mysql.FindOne("dataexport_order", queryMap, "filter,pay_way,data_spec", "")
|
|
|
}
|
|
|
log.Println("-:", orderDetail)
|
|
|
if orderDetail["filter"] != nil {
|
|
@@ -71,6 +71,14 @@ func (w *WxDataExport) ToSieve() error {
|
|
|
orderDetail["pay_way"] = "ali"
|
|
|
}
|
|
|
}
|
|
|
+ //记录用户上次选择的字段包 1 标准 2 高级
|
|
|
+ if orderDetail["data_spec"] != nil {
|
|
|
+ if orderDetail["data_spec"] == "标准字段包" {
|
|
|
+ orderDetail["data_spec"] = "1"
|
|
|
+ } else if orderDetail["data_spec"] == "高级字段包" {
|
|
|
+ orderDetail["data_spec"] = "2"
|
|
|
+ }
|
|
|
+ }
|
|
|
w.T["orderDetail"] = orderDetail
|
|
|
}
|
|
|
if myUserId == "" {
|