|
@@ -323,7 +323,7 @@ func (p *AppDataExportPay) WxPayCallback() {
|
|
|
pay_time := util.FormatDate(&now, util.Date_Full_Layout)
|
|
|
if orderdata != nil {
|
|
|
filename := fmt.Sprintf("%s.xlsx", fmt.Sprintf("%s_%s_%s", time.Now().Format("20060102150405"), util.ObjToString((*orderdata)["order_code"]), util.GetLetterRandom(5)))
|
|
|
- download_url := fmt.Sprintf("/res/dataexport/%s", filename)
|
|
|
+ download_url := fmt.Sprintf("/jyapp/res/dataexport/%s", filename)
|
|
|
order_status := util.IntAll((*orderdata)["order_status"])
|
|
|
if order_status == 0 {
|
|
|
changeOrderStatus = public.Mysql.Update("dataexport_order", map[string]interface{}{
|
|
@@ -415,7 +415,7 @@ func (a *AppDataExportPay) AliPayCallback() {
|
|
|
if orderdata != nil {
|
|
|
pay_time := util.FormatDate(&now, util.Date_Full_Layout)
|
|
|
filename := fmt.Sprintf("%s.xlsx", fmt.Sprintf("%s_%s_%s", time.Now().Format("20060102150405"), util.ObjToString((*orderdata)["order_code"]), util.GetLetterRandom(5)))
|
|
|
- download_url := fmt.Sprintf("/res/dataexport/%s", filename)
|
|
|
+ download_url := fmt.Sprintf("/jyapp/res/dataexport/%s", filename)
|
|
|
order_status := util.IntAll((*orderdata)["order_status"])
|
|
|
if order_status == 0 {
|
|
|
changeOrderStatus = public.Mysql.Update("dataexport_order", map[string]interface{}{
|