wanggangzero 9 月之前
父節點
當前提交
a2040c87fc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Gameserver/App/service_call/pay/Mo/payRequest.php

+ 2 - 2
Gameserver/App/service_call/pay/Mo/payRequest.php

@@ -283,7 +283,7 @@ class PayRequest extends loyalsoft\Object_ext {
             $dayTS = loyalsoft\TimeUtil::tsDayBegin();                                                                       # 当天起始时间戳
             $monthTotal = loyalsoft\daoInst()
                     ->select("sum(`amount`)/100 as total")                                                                         # 总金额(单位:分转元)
-                    ->from("tpl_order_tab")
+                    ->from(self::orderTab)
                     ->where("uid")->eq($uid)                                                                                               # 该玩家
                     ->andWhere("status")->eq(1)                                                                                         # 成交订单
                     ->andWhere("order_ts")->ge($monthTS)                                                                      # 本月
@@ -293,7 +293,7 @@ class PayRequest extends loyalsoft\Object_ext {
             }
             $dayTotal = loyalsoft\daoInst()
                     ->select("sum(`amount`)/100 as total")                                                                         # 总金额(单位:分转元)
-                    ->from("tpl_order_tab")
+                    ->from(self::orderTab)
                     ->where("uid")->eq($uid)                                                                                               # 该玩家
                     ->andWhere("status")->eq(1)                                                                                        # 成交订单
                     ->andWhere("order_ts")->ge($dayTS)                                                                           # 今日