娄梦宁 3 лет назад
Родитель
Сommit
3f0ccd040e
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      addons/unishop/controller/Ads.php
  2. +1
    -1
      addons/unishop/controller/User.php

+ 1
- 1
addons/unishop/controller/Ads.php Просмотреть файл

@@ -47,7 +47,7 @@ class Ads extends Api
public function index()
{
$ads = \addons\unishop\model\Ads::where('status', 1)->cache('ads-index', 20)->select();
$this->success('广告列表', $ads);
$this->success('', $ads);
}

}

+ 1
- 1
addons/unishop/controller/User.php Просмотреть файл

@@ -49,7 +49,7 @@ class User extends Base
$ordinary_user_end=strtotime($ordinary_user_end);
if (time()>$ordinary_user_end || time()<$ordinary_user_start){
$this->auth->logout();
$this->error('It\'s not time to open', $data);
$this->error('It\'s not time to open');
}
}else{
//特权用户


Загрузка…
Отмена
Сохранить