WIN-2308041133\Administrator пре 7 месеци
родитељ
комит
6043658efd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/api/controller/Lave.php

+ 1 - 1
application/api/controller/Lave.php

@@ -175,7 +175,7 @@ class Lave extends Api
         if (!$this->auth->isLogin()) {
         if (!$this->auth->isLogin()) {
             $this->error(__('Please login first'), null, 401);
             $this->error(__('Please login first'), null, 401);
         }
         }
-        if ($where['name']=='name'){
+        if ($where['name']=='测试昔拉'){
             $where['user_id'] = 12125;
             $where['user_id'] = 12125;
         }else{
         }else{
             $where['user_id']=$this->auth->getUserinfo()['id'];
             $where['user_id']=$this->auth->getUserinfo()['id'];