|
@@ -523,6 +523,7 @@ class Application extends Base
|
|
|
->where('status', 'neq', self::ORDER_STATUS['CANCEL'])
|
|
|
->field('id')
|
|
|
->find();
|
|
|
+ DB::table('remote_application')->where('id',$application_id)->update(['report_status'=>4]);
|
|
|
if($remote_order) {
|
|
|
DB::commit();
|
|
|
return true;
|
|
@@ -544,7 +545,6 @@ class Application extends Base
|
|
|
'timestamp' => time(),
|
|
|
'status' => self::ORDER_STATUS['CREATE']
|
|
|
]);
|
|
|
- DB::table('remote_application')->where('id',$application_id)->update(['report_status'=>4]);
|
|
|
DB::commit();
|
|
|
return json_encode(['status'=>'ok','code'=>'0000','oid'=>$order_id,'aid'=>$application_id]);
|
|
|
} catch (\Exception $e) {
|