From d9c17cd6a525544c306facd5e5ffb2856124b658 Mon Sep 17 00:00:00 2001 From: lijianbin <513837235@.qq.com> Date: Tue, 9 Nov 2021 14:06:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.go | 3 ++- common.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index b822123..deb8260 100644 --- a/client.go +++ b/client.go @@ -72,7 +72,7 @@ func SendMsg(site_id, dbname, business_id, domainname, msg_type, order_sn, memo } // target_type:目标类型,商品或文章 target_id:目标ID -func SendNotcie(site_id, dbname, domain, manager_id, target_type, target_id string, template_Data map[string]string, url ...string) (bool, error) { +func SendNotcie(site_id, dbname, domain, user_id, manager_id, target_type, target_id string, template_Data map[string]string, url ...string) (bool, error) { if dbname == "" || dbname == "" || manager_id == "" { return false, errors.New("参数错误") } @@ -88,6 +88,7 @@ func SendNotcie(site_id, dbname, domain, manager_id, target_type, target_id stri arg.SiteId = site_id arg.Dbname = dbname arg.Domain = domain + arg.UserId = user_id arg.ManagerId = manager_id arg.TargetType = target_type arg.TargetId = target_id diff --git a/common.go b/common.go index 3f4adaa..2837e90 100644 --- a/common.go +++ b/common.go @@ -25,6 +25,7 @@ type MsgSend struct { type NoticeSend struct { Req Domain string + UserId string ManagerId string TargetType string TargetId string