...
|
...
|
@@ -108,6 +108,7 @@ class PayController extends HomeBaseController |
|
|
if($successful){
|
|
|
Db::startTrans();
|
|
|
try {
|
|
|
$order = Db::name('indent')->where('order_number',$out_trade_no)->lock(true)->find();
|
|
|
$update['state'] = 2;
|
|
|
$update['pay_time'] = time();
|
|
|
//更新订单状态为待发货
|
...
|
...
|
|