Browse Source

修改字段

bianjunhui 1 năm trước cách đây
mục cha
commit
04f175f22c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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'));