作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

XIAOPAN

@@ -758,6 +758,8 @@ class OrderController extends HomeBaseController{ @@ -758,6 +758,8 @@ class OrderController extends HomeBaseController{
758 $order_no =substr($data['out_trade_no'], 0, -4); 758 $order_no =substr($data['out_trade_no'], 0, -4);
759 $order=\db('order')->where(['order_no'=>$order_no])->find(); 759 $order=\db('order')->where(['order_no'=>$order_no])->find();
760 Log::record($order); 760 Log::record($order);
  761 + Log::record($mySign);
  762 + Log::record($data['return_code']);
761 if ($Sign===$mySign && $data['return_code'] == 'SUCCESS') { 763 if ($Sign===$mySign && $data['return_code'] == 'SUCCESS') {
762 try{ 764 try{
763 Db::name('order')->where(['order_no'=>$order_no])->update(['state'=>3]); 765 Db::name('order')->where(['order_no'=>$order_no])->update(['state'=>3]);