/** * 执行JS的吐丝方法 */ function toast($msg) { Response::exejs('YYUC.toast("' . htmlspecialchars($msg, ENT_QUOTES) . '")'); }