diff --git a/app/views/wechats/user_activities.html.erb b/app/views/wechats/user_activities.html.erb index 6fc29aba1..413bf6852 100644 --- a/app/views/wechats/user_activities.html.erb +++ b/app/views/wechats/user_activities.html.erb @@ -18,7 +18,7 @@ window.apiUrl = '/api/v1/'; window.g_redirect_path = '<%= @path %>'; window.g_localhost = "<%= Setting.protocol%>://"+"<%= Setting.host_name%>"; - window.g_appid = <%= @appid %> + window.g_appid = "<%= @appid %>"; <% if @course_id %> window.g_courseid = <%= @course_id %>; <% elsif @project_id %>