|
@@ -37,8 +37,8 @@ class Assms extends Api
|
|
}
|
|
}
|
|
$quote_id= $post['quote_id'];
|
|
$quote_id= $post['quote_id'];
|
|
$mobile =$post['mobile'];
|
|
$mobile =$post['mobile'];
|
|
- $where['mobile']=$quote_id;
|
|
|
|
- $where['quote_id']=$mobile;
|
|
|
|
|
|
+ $where['quote_id']=$quote_id;
|
|
|
|
+ $where['ymobile']=$mobile;
|
|
$where['status']=1;
|
|
$where['status']=1;
|
|
Db::name('sms_log')->where($where)->delete();
|
|
Db::name('sms_log')->where($where)->delete();
|
|
$this->success(__('success'));
|
|
$this->success(__('success'));
|