...
|
...
|
@@ -381,7 +381,12 @@ class UsersController extends HomeBaseController{ |
|
|
|
|
|
//每天重置免费试用权限
|
|
|
public function resetFree(){
|
|
|
Db::name('users')->where('is_free',1)->update(['is_free'=>0]);
|
|
|
$token=input('token');
|
|
|
if($token=='broSleep'){
|
|
|
Db::name('users')->where('is_free',1)->update(['is_free'=>0]);
|
|
|
}else{
|
|
|
echo 'ok';
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|