...
|
...
|
@@ -105,7 +105,10 @@ class AdminOrderController extends AdminBaseController |
|
|
$up_order['status'] = $data['type'];
|
|
|
$up_order['update_time'] = time();
|
|
|
$res = $model->isUpdate(true)->save($up_order);
|
|
|
if($res){
|
|
|
$hireModel = new HireModel();
|
|
|
$hire_save['status'] =$data['type'];
|
|
|
$hire_res = $hireModel->isUpdate(true)->save($hire_save);
|
|
|
if($res && $hire_res){
|
|
|
// 发送模板消息
|
|
|
$acctoken = $this->getAccessToken();
|
|
|
$url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=".$acctoken;
|
...
|
...
|
|