Browse Source

FIX:订单修改

cxyu 3 years ago
parent
commit
b3b4dbda9f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      handlers/OrderHandler.py

+ 2 - 2
handlers/OrderHandler.py

@@ -263,8 +263,8 @@ class OrderInfo(BaseHandler):
                         if(a.agent_id =21,'客服渠道',if(a.agent_id=0,'自然流量',c.wx_name)) as channel,
                         if(a.agent_id =21,'客服渠道',if(a.agent_id=0,'自然流量',c.wx_name)) as channel,
                         if(a.create_time is not null ,CONVERT(from_unixtime(a.create_time),char(20)),null) order_time,
                         if(a.create_time is not null ,CONVERT(from_unixtime(a.create_time),char(20)),null) order_time,
                         if(d.create_time is not null,CONVERT(from_unixtime(d.create_time),char(20)),null) user_create_time,
                         if(d.create_time is not null,CONVERT(from_unixtime(d.create_time),char(20)),null) user_create_time,
-                        d.id as user_id,e.name as game ,a.amount ,a.real_amount ,g.server_name ,
-                        CONVERT (g.role_name USING utf8) as role_name,a.payway ,a.status status ,a.mg_mem_id
+                        d.id as mem_id,e.name as game ,a.amount ,a.real_amount ,g.server_name ,
+                        CONVERT (g.role_name USING utf8) as role_name,a.payway ,a.status status ,a.mg_mem_id as user_id
                         from db_mp.h_pay a
                         from db_mp.h_pay a
                         left join
                         left join
                         (select b.agent_id as agent_id,b.advertiser_conf_id  from 
                         (select b.agent_id as agent_id,b.advertiser_conf_id  from