...
|
...
|
@@ -758,6 +758,8 @@ class OrderController extends HomeBaseController{ |
|
|
$order_no =substr($data['out_trade_no'], 0, -4);
|
|
|
$order=\db('order')->where(['order_no'=>$order_no])->find();
|
|
|
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]);
|
...
|
...
|
|