Эх сурвалжийг харах

修改消息发送的发送人

renjiaojiao 3 жил өмнө
parent
commit
39bc3f706c

+ 1 - 1
src/customerService/customController.go

@@ -40,7 +40,7 @@ func CustomSendMsg(context *admin.Context) (interface{}, error) {
 	}, err
 }
 
-func MycustomerList(context *admin.Context) (interface{}, error) {
+func MyCustomerList(context *admin.Context) (interface{}, error) {
 	param := new(struct {
 		State           string `form:"state"`           //客户状态
 		UpdateTimeStart string `form:"updateTimeStart"` //最近更新时间筛选开始时间

+ 1 - 0
src/customerService/customService.go

@@ -79,6 +79,7 @@ func CustomSendMsgService(param *customMsg, sendStatus int, loginUserName string
 			"link":        param.Link,
 			"isdel":       1,
 			"send_userid": loginUserId,
+			"send_name":   loginUserName,
 		})
 		msgLogId = strconv.FormatInt(msgId, 10)
 		//如果是定时发送

+ 1 - 0
src/customerService/newsService.go

@@ -596,6 +596,7 @@ func SendMsg(param *Message, sendStatus int, loginUserName string, loginUserId i
 			"link":        param.Link,
 			"isdel":       1,
 			"send_userid": loginUserId,
+			"send_name":   loginUserName,
 		})
 		msgLogId = strconv.FormatInt(msgId, 10)
 		//如果是定时发送