function config() { // 使用提示 $normal_tips = '如需用户关注时提示先绑定,请进入‘欢迎语’插件按提示进行配置提示语'; $this->assign('normal_tips', $normal_tips); if (IS_POST) { $config = I('config'); $credit['score'] = intval($config['score']); $credit['experience'] = intval($config['experience']); $token = get_token(); D('Common/Credit')->updateSubscribeCredit($token, $credit, 1); } parent::config(); }