controller(); $action = request()->action(); $web_html = <<
EOT; $web_html .= ''; $web_html .= ''; $web_html .= ''; $web_html .= ''; $web_html .= ''; $web_html .= ''; //如果登录了卖家状态 if ($seller_id) { $seller_smt_limits = ''; if ($seller_smt_limits && is_array($seller_smt_limits)) { $seller_smt_limits = implode(',', $seller_smt_limits); } $web_html .= << user['seller_id'] = "{$seller_id}"; user['seller_name'] = "{$seller_name}"; user['seller_is_admin'] = "{$seller_is_admin}"; var smt_limits = "{$seller_smt_limits}"; EOT; } return $web_html; } }