|
@@ -56,7 +56,7 @@ class Wechat extends Base {
|
|
|
Log::record('-----更新订单状态-----');
|
|
|
DB::table("remote_order")->where("id", $out_trade_no)->update($order);
|
|
|
$application = DB::table('remote_application')->where('id', $order['application_id'])->field('exam_id')->find();
|
|
|
- $exam_id = $application['application'];
|
|
|
+ $exam_id = $application['exam_id'];
|
|
|
$r_info = DB::table('report')->where('exam_id',$exam_id)->where('remote_application_id', $aid)->find();
|
|
|
$t = '收到一条远程诊断申请';
|
|
|
$ins = DB::table('institution')->where('id',$order['hospital_id'])->field('name')->find();
|