...
|
...
|
@@ -1807,6 +1807,17 @@ class User extends Api |
|
|
//查询用户余额是否充足
|
|
|
if($user['money'] < $param['total']){
|
|
|
$data['is_enough'] = 2;
|
|
|
|
|
|
//发送短信,通知客户
|
|
|
$mobile = 13780608990;
|
|
|
$mobile1 = 15588311507;
|
|
|
$content = "【仁甲看见SHOP】提醒您,您有新的苹果客户,客户电话为:$user[$mobile] ,请您及时回复!";
|
|
|
//发送短信
|
|
|
$send = new Pay();
|
|
|
$send->sms($mobile,$content);
|
|
|
$send->sms($mobile1,$content);
|
|
|
|
|
|
|
|
|
$this->error('error',$data);
|
|
|
|
|
|
}else{
|
...
|
...
|
|