1
wtt
2026-02-09 70799329dc591e8f07682e40cf4dd464ffa22bdf
WebAPI/Service/GeTuiService.cs
@@ -46,7 +46,7 @@
                {
                    string title = ds.Tables[0].Rows[0]["主题"].ToString();
                    string content = ds.Tables[0].Rows[0]["内容"].ToString();
                    template = GetNotificationTemplate(title, content, "/pages/ZLGL/OA_WorkLink/OA_WorkLinkBillList", "0");
                    template = GetNotificationTemplate(title, content, "/pages/ZLGL/OA_WorkLink/OA_WorkLinkBillQuery", "0"); // 跳转到工作联系单查询页面
                    // 广播
                    if(ds.Tables[0].Rows[0]["发送类型"].ToString() == "公共")
@@ -156,8 +156,8 @@
            template.IsClearable = true;
            var customData = new Dictionary<string, string>
            {
                {"pagePath", pagePath}, // 示例:"/pages/detail/detail"
                {"itemId", HItemID}      // 示例:"123456"
                {"pagePath", pagePath},
                {"itemId", HItemID}
            };
            template.TransmissionContent = JsonConvert.SerializeObject(customData); // 序列化为 JSON 字符串
            template.TransmissionType = 1; // 1=点击通知后触发客户端回调(透传内容给客户端)