This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
loumengning
/
shop
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
checkredis
yijia
娄梦宁
3 years ago
parent
a0536d3dcf
commit
3f0ccd040e
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
addons/unishop/controller/Ads.php
+1
-1
addons/unishop/controller/User.php
+ 1
- 1
addons/unishop/controller/Ads.php
View File
@@ -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
View File
@@ -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{
//特权用户
Write
Preview
Loading…
Cancel
Save