cachelist = $cachelist; $discuz->init(); $_G['wechat']['setting'] = unserialize($_G['setting']['mobilewechat']); require_once DISCUZ_ROOT.'./source/plugin/wechat/wsq.class.php'; $result = wsq::check($_GET); if($result) { $setting = C::t('common_setting')->fetch_all(array('mobilewechat')); $setting = unserialize($setting['mobilewechat']); $setting['wsq_status'] = 1; $settings = array('mobilewechat' => serialize($setting)); C::t('common_setting')->update_batch($settings); } echo $result; exit;