Ver código fonte

修改字段

bianjunhui 1 ano atrás
pai
commit
04f175f22c
1 arquivos alterados com 2 adições e 2 exclusões
  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'));