平台加入项目发微信模版消息
This commit is contained in:
parent
ea926395c3
commit
14e70541db
|
@ -75,6 +75,8 @@ class AppliedProjectController < ApplicationController
|
|||
@project.project_infos << project_info
|
||||
@project.user_grades << user_grades unless user_grades.first.user_id.nil?
|
||||
|
||||
ps = ProjectsService.new
|
||||
ps.send_wechat_join_project_notice User.current,@project,5,0
|
||||
else
|
||||
@flag = 4
|
||||
role = params[:member] == "member_manager" ? 3 : (params[:member] == "member_developer" ? 4 :5)
|
||||
|
|
Loading…
Reference in New Issue