bianjunhui пре 1 година
родитељ
комит
04f175f22c
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      application/api/controller/Assms.php

+ 2 - 2
application/api/controller/Assms.php

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