Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_forum
hjm 5 years ago
commit 7e57c41174

@ -266,7 +266,7 @@ class SubjectsController < ApplicationController
end end
def add_subject_members def add_subject_members
tip_exception(403, "没权限操作") if !current_user.admin? # tip_exception(403, "没权限操作") if !current_user.admin?
tip_exception("user_ids 不能为空!") if params[:user_ids].blank? tip_exception("user_ids 不能为空!") if params[:user_ids].blank?
memberships = params[:user_ids] memberships = params[:user_ids]
memberships.each do |member| memberships.each do |member|

@ -438,7 +438,7 @@ submittojoinclass=(value)=>{
} }
if(value===1){ if(value===1){
let url="/applied_project/applied_project_info.json" let url="/api/applied_project/applied_project_info.json"
const form = new FormData(); const form = new FormData();
form.append('invite_code', tojoinclasstitle); form.append('invite_code', tojoinclasstitle);
form.append('member', RadioGroupvalue); form.append('member', RadioGroupvalue);

Loading…
Cancel
Save