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