Commit d7e6aac0305c01ab67ca8a42da81ce9a6506123a
Merge branch 'test' of http://git.vipzhuang.cn/wxd/MShopWeApp into qa
Showing
1 changed file
with
9 additions
and
2 deletions
app.js
| @@ -312,8 +312,8 @@ App({ | @@ -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 | if (!id) { return ''} | 317 | if (!id) { return ''} |
| 318 | let os = this.globalData.setting; | 318 | let os = this.globalData.setting; |
| 319 | let res = await this.promiseGet("/api/wx/weappSendlist/page", { | 319 | let res = await this.promiseGet("/api/wx/weappSendlist/page", { |
| @@ -1771,6 +1771,13 @@ App({ | @@ -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 |