|
@@ -236,13 +236,13 @@ class PayRequest extends loyalsoft\Object_ext {
|
|
|
// $this->amount = number_format(0.01, 2, '.', '');
|
|
|
// $this->product_price = 0.01;
|
|
|
// } else //
|
|
|
- if ($this->amount != loyalsoft\GameConfig::shop_getItem($this->product_id)->price) {
|
|
|
- \loyalsoft\CLog::pay($this->product_id);
|
|
|
- \loyalsoft\CLog::pay(var_export(loyalsoft\gMem()));
|
|
|
- \loyalsoft\CLog::pay(loyalsoft\GameConfig::shop_getItem($this->product_id)->price);
|
|
|
- \loyalsoft\CLog::pay('金额不符' . $this->amount . " ");
|
|
|
- exit('{"err":1,"msg":"金额不符!"}');
|
|
|
- }
|
|
|
+// if ($this->amount != loyalsoft\GameConfig::shop_getItem($this->product_id)->price) {
|
|
|
+// \loyalsoft\CLog::pay($this->product_id);
|
|
|
+// \loyalsoft\CLog::pay(var_export(loyalsoft\gMem()));
|
|
|
+// \loyalsoft\CLog::pay(loyalsoft\GameConfig::shop_getItem($this->product_id)->price);
|
|
|
+// \loyalsoft\CLog::pay('金额不符' . $this->amount . " ");
|
|
|
+// exit('{"err":1,"msg":"金额不符!"}');
|
|
|
+// }
|
|
|
}
|
|
|
loyalsoft\daoInst()->insert(self::orderTab) # 创建一个新的订单
|
|
|
->data(array('order_ts' => loyalsoft\now()))
|