|
@@ -299,19 +299,22 @@ class ChapterController extends BaseController
|
|
public function index(Request $request, $t, $domain, $bid, $cid)
|
|
public function index(Request $request, $t, $domain, $bid, $cid)
|
|
{
|
|
{
|
|
myLog('special')->info('in chapter index controller----------');
|
|
myLog('special')->info('in chapter index controller----------');
|
|
|
|
+ myLog('special')->info('everyone uid');
|
|
|
|
+ myLog('special')->info($this->uid);
|
|
$special_user_log = env('SPECIAL_USER_LOG');
|
|
$special_user_log = env('SPECIAL_USER_LOG');
|
|
//注意:内部约定用 有此参数不需要强关
|
|
//注意:内部约定用 有此参数不需要强关
|
|
$inter_not_need_sub = $request->has('inter_not_need_sub') ? true : false;
|
|
$inter_not_need_sub = $request->has('inter_not_need_sub') ? true : false;
|
|
-
|
|
|
|
|
|
+ myLog('special')->info('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa');
|
|
$ad_status = $request->get('ad_status');
|
|
$ad_status = $request->get('ad_status');
|
|
//$ad_status = 0;
|
|
//$ad_status = 0;
|
|
$has_force_show_qrcode_cookie = Cookie::get('force_show_qrcode');
|
|
$has_force_show_qrcode_cookie = Cookie::get('force_show_qrcode');
|
|
Cookie::queue('force_show_qrcode', 1, -1);
|
|
Cookie::queue('force_show_qrcode', 1, -1);
|
|
-
|
|
|
|
|
|
+ myLog('special')->info('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb');
|
|
if (!$this->checkUid()) {
|
|
if (!$this->checkUid()) {
|
|
myLog('special')->info('chapter index controller---$this->checkUid() fail-------');
|
|
myLog('special')->info('chapter index controller---$this->checkUid() fail-------');
|
|
return response()->error('WAP_NOT_LOGIN');
|
|
return response()->error('WAP_NOT_LOGIN');
|
|
}
|
|
}
|
|
|
|
+ myLog('special')->info('cccccccccccccccccccccccccccc');
|
|
if($special_user_log && $special_user_log == $this->uid){
|
|
if($special_user_log && $special_user_log == $this->uid){
|
|
$my_log = myLog('special');
|
|
$my_log = myLog('special');
|
|
$my_log->info('in chapters--------------------------');
|
|
$my_log->info('in chapters--------------------------');
|