Ver código fonte

修改客服回复内容

wangchuanjin 2 anos atrás
pai
commit
fd366b8c05
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      core/src/qfw/manage/feedback.go

+ 2 - 3
core/src/qfw/manage/feedback.go

@@ -237,14 +237,13 @@ func (s *SystemManage) Updateback() error {
 								coreconfig.FeedBackFirstData = dataArr[0]
 							}
 						}
-						s_result = coreconfig.FeedBackFirstData
+						s_result = strings.ReplaceAll(coreconfig.FeedBackFirstData, "@回复内容", opinion)
 						log.Println("反馈信息的firstdata", s_result)
 
 						s_detail := "问题回复"
-						s_remark := "  " + opinion
 						s_submitdate := s.GetString("l_submitdate")
 						log.Println("微信模板消息-意见反馈答复", s_m_openid)
-						coreutil.JyWeixinRpc.SendFeedbackNotifyMsg(&qrpc.NotifyMsg{Openid: s_m_openid, Title: s_result, Detail: s_detail, Date: s_submitdate, Remark: s_remark, Url: msgurl})
+						coreutil.JyWeixinRpc.SendFeedbackNotifyMsg(&qrpc.NotifyMsg{Openid: s_m_openid, Title: s_result, Detail: s_detail, Date: s_submitdate, Url: msgurl})
 					}
 					if isAppReply {
 						msgurl := "/jyapp/free/sess/" + seTopnet.EncodeString(s_submitid+",_id,"+strconv.Itoa(int(time.Now().Unix()))+",myfeedbacks")