From 42c7b44de246463339109cb7454b915d31816986 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Thu, 25 Apr 2024 11:43:05 +0800 Subject: [PATCH] app.js的提交 --- app.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 8e7ea05..ac67cb9 100644 --- a/app.js +++ b/app.js @@ -312,8 +312,8 @@ App({ }, - //获取订阅消息模板id - async get_template_id(id){ + //获取订阅消息模板id + async get_template_id(id){ if (!id) { return ''} let os = this.globalData.setting; let res = await this.promiseGet("/api/wx/weappSendlist/page", { @@ -1771,6 +1771,13 @@ App({ } }, + customer_chat(goods_id,type){ + var url = "/packageG/pages/customer_chat/customer_chat?goods_id="+goods_id; + if(type) + url += "&type=1"; + this.goto(url); + } + -- libgit2 0.21.4