作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

授权

... ... @@ -233,7 +233,7 @@ class WeChatBaseController extends BaseController
*/
public function ban(){
$user_id = cmf_get_current_user_id();
if (empty($userId)) {
if (empty($user_id)) {
$this->error("用户尚未登录", url("index/index/index"));
}
$user = Db::name('user')->where('id',$user_id)->find();
... ...