Browse Source

Merge branch 'dev' of shop/php into master

shishichen 9 months ago
parent
commit
a24202e1d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/api/Auth.php

+ 1 - 1
app/controller/api/Auth.php

@@ -405,7 +405,7 @@ class Auth extends BaseController
405
         $type = $this->request->param('type',1);
405
         $type = $this->request->param('type',1);
406
 //        $where['mer_id']=$this->merId;
406
 //        $where['mer_id']=$this->merId;
407
         $where['type']=$type;
407
         $where['type']=$type;
408
-        $data=Db::name('enterprise_agreement')->where($where)->find();
408
+        $data=Db::name('user_agreement')->where($where)->find();
409
         if(!$data){
409
         if(!$data){
410
             $data['title']='';
410
             $data['title']='';
411
             $data['content']='';
411
             $data['content']='';