|
@@ -183,15 +183,25 @@ func (s *SystemManage) Updateback() error {
|
|
|
f := FindOne("user", "{'_id':'"+s_submitid+"'}")
|
|
|
if (*f)["s_m_openid"] != nil {
|
|
|
openid := (*f)["s_m_openid"].(string)
|
|
|
- s_result := "意见反馈处理结果"
|
|
|
- if len(title) > 20 {
|
|
|
- title = front.SubstrByByte(title, 40) + "..."
|
|
|
+ if (*f)["i_appid"] == 2 {
|
|
|
+ s_result := "剑鱼客服回复了您的问题!"
|
|
|
+ s_detail := "问题回复"
|
|
|
+ s_remark := " " + s.GetString("s_opinion")
|
|
|
+ s_submitdate := s.GetString("l_submitdate")
|
|
|
+ go func() {
|
|
|
+ coreutil.JyWeixinRpc.SendFeedbackNotifyMsg(&qrpc.NotifyMsg{Openid: openid, Title: s_result, Detail: s_detail, Date: s_submitdate, Remark: s_remark})
|
|
|
+ }()
|
|
|
+ } else {
|
|
|
+ s_result := "意见反馈处理结果"
|
|
|
+ if len(title) > 20 {
|
|
|
+ title = front.SubstrByByte(title, 40) + "..."
|
|
|
+ }
|
|
|
+ s_detail := "以下是对你提交“" + title + "”意见的回复结果"
|
|
|
+ s_remark := " " + s.GetString("s_opinion")
|
|
|
+ go func() {
|
|
|
+ coreutil.SendManagerNotifyMsg(&qrpc.NotifyMsg{Openid: openid, Title: s_result, Detail: s_detail, Remark: s_remark})
|
|
|
+ }()
|
|
|
}
|
|
|
- s_detail := "以下是对你提交“" + title + "”意见的回复结果"
|
|
|
- s_remark := " " + s.GetString("s_opinion")
|
|
|
- go func() {
|
|
|
- coreutil.SendManagerNotifyMsg(&qrpc.NotifyMsg{Openid: openid, Title: s_result, Detail: s_detail, Remark: s_remark})
|
|
|
- }()
|
|
|
}
|
|
|
|
|
|
} else {
|