|
@@ -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'];
|