...
|
...
|
@@ -90,10 +90,10 @@ class AdminOrderController extends AdminBaseController |
|
|
}
|
|
|
if ($param['status'] == 2 && $order['status'] == 3) {
|
|
|
Db::name('order')->where('id', $param['id'])->update(['status' => 4, 'to_post_status' => 6, 'remark' => $param['remark']]);
|
|
|
$post_id = Db::name('order')->where('id', $param['id'])->find()['post_id'];
|
|
|
$post_id = $order['post_id'];
|
|
|
$mobile = Db::name('post')->where('id', $post_id)->find()['mobile'];
|
|
|
$curl = curl_init();
|
|
|
$url = 'https://api.zhuanxinyun.com/api/v2/sendSms.json?appKey=1luqgyqudbfwkjp64ge7cg5v0fscenir&appSecret=813ff35dc46bfd193d44d85499e7273c3834&phones='.$mobile.'&content=【达人组局】你所提交的订单提现未通过审核,请重新提交资料审核';
|
|
|
$url = 'https://api.zhuanxinyun.com/api/v2/sendSms.json?appKey=1luqgyqudbfwkjp64ge7cg5v0fscenir&appSecret=813ff35dc46bfd193d44d85499e7273c3834&phones='.$mobile.'&content=【达人组局】你提交的订单完成申请未通过审核,请按照要求再次提交证据审核,第二次提交驳回订单费用将退还下单者';
|
|
|
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
|
|
curl_setopt($curl, CURLOPT_TIMEOUT, 60);
|
|
|
curl_setopt($curl, CURLOPT_URL, $url);
|
...
|
...
|
|