|
@@ -35,8 +35,10 @@ class ONUService{
|
|
|
$data['status']=1;
|
|
|
$data['uid']=$uid;
|
|
|
$data['mobile']=$this->checkMobileCode($data['fromPhone']);
|
|
|
- if(strpos($data['content'],'stop')){//客户取消订阅
|
|
|
+ if(stripos($data['content'],'stop')!==false){//客户取消订阅
|
|
|
$data['status']=2;
|
|
|
+ var_dump($data['content']);
|
|
|
+ exit;
|
|
|
$is_send =2;
|
|
|
if($uid){
|
|
|
$admin->upDidSmsCustomer($is_send,$data['mobile'],$uid);
|