作者 王智

PC新医疗接口修改

... ... @@ -80,10 +80,10 @@ class Tuikuan extends Backend
$model = new ProductStatus();
$model->where(['dingdan_id' => $Order['dingdan_id']])->update(['status' => 6]);
}
if ($params['status'] == 2) {
$model = new ProductStatus();
$model->where(['dingdan_id' => $Order['dingdan_id']])->update(['status' => 7]);
}
}
if ($params['status'] == 2) {
$model = new ProductStatus();
$model->where(['dingdan_id' => $Order['dingdan_id']])->update(['status' => 7, 'updatetime' => time()]);
}
$result = $row->allowField(true)->save($params);
Db::commit();
... ...