Commit 6740661a authored by hujun's avatar hujun

3

parent 3119299c
...@@ -90,6 +90,7 @@ class PayLogOpenService ...@@ -90,6 +90,7 @@ class PayLogOpenService
if ($num > 0) { if ($num > 0) {
$this->payLogOpenModel->editData(['status' => $status], $open_id); //更新状态 $this->payLogOpenModel->editData(['status' => $status], $open_id); //更新状态
if ($status == 3) {
$pay_log_id = $this->payLogOpenModel->getFieldOneValue('pay_log_id', ['id'=>$open_id]); $pay_log_id = $this->payLogOpenModel->getFieldOneValue('pay_log_id', ['id'=>$open_id]);
if ($pay_log_id) { if ($pay_log_id) {
...@@ -98,6 +99,7 @@ class PayLogOpenService ...@@ -98,6 +99,7 @@ class PayLogOpenService
$update_data['open_time'] = date('Y-m-d H:i:s'); $update_data['open_time'] = date('Y-m-d H:i:s');
$this->payLogModel->updatePayLog($update_data); $this->payLogModel->updatePayLog($update_data);
} }
}
//todo 推送 //todo 推送
$this->pushCheck($open_id, $status); $this->pushCheck($open_id, $status);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment