Commit 42c7b44de246463339109cb7454b915d31816986
1 parent
eb2ef05a
app.js的提交
Showing
1 changed file
with
9 additions
and
2 deletions
app.js
... | ... | @@ -312,8 +312,8 @@ App({ |
312 | 312 | |
313 | 313 | }, |
314 | 314 | |
315 | - //获取订阅消息模板id | |
316 | - async get_template_id(id){ | |
315 | + //获取订阅消息模板id | |
316 | + async get_template_id(id){ | |
317 | 317 | if (!id) { return ''} |
318 | 318 | let os = this.globalData.setting; |
319 | 319 | let res = await this.promiseGet("/api/wx/weappSendlist/page", { |
... | ... | @@ -1771,6 +1771,13 @@ App({ |
1771 | 1771 | } |
1772 | 1772 | }, |
1773 | 1773 | |
1774 | + customer_chat(goods_id,type){ | |
1775 | + var url = "/packageG/pages/customer_chat/customer_chat?goods_id="+goods_id; | |
1776 | + if(type) | |
1777 | + url += "&type=1"; | |
1778 | + this.goto(url); | |
1779 | + } | |
1780 | + | |
1774 | 1781 | |
1775 | 1782 | |
1776 | 1783 | ... | ... |