...
|
...
|
@@ -757,6 +757,7 @@ class OrderController extends HomeBaseController{ |
|
|
$mySign = $wxPay->getSign($data);
|
|
|
$order_no =substr($data['out_trade_no'], 0, -4);
|
|
|
$order=\db('order')->where(['order_no'=>$order_no])->find();
|
|
|
Log::record($order);
|
|
|
if ($Sign===$mySign && $data['return_code'] == 'SUCCESS') {
|
|
|
try{
|
|
|
Db::name('order')->where(['order_no'=>$order_no])->update(['state'=>3]);
|
...
|
...
|
|