chore[renard-wx]: 稍微微调一下

This commit is contained in:
Junling Bu
2018-09-06 20:21:28 +08:00
parent 426571d5cc
commit f239ffb0ea
3 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
// 以下是业务服务器API地址
// 本机开发时使用
var WxApiRoot = 'http://192.168.1.105:8082/wx/';
var WxApiRoot = 'http://localhost:8080/wx/';
// 局域网测试使用
// var WxApiRoot = 'http://192.168.0.101:8080/wx/';
// 云平台上线时使用
// var WxApiRoot = 'https://litemall.menethil.com.cn/wx/';
// var WxApiRoot = 'https://www.menethil.com.cn/wx/';

View File

@@ -33,10 +33,10 @@ Page({
if (res.errno === 0) {
that.setData({
topic: res.data,
topic: res.data.topic
});
WxParse.wxParse('topicDetail', 'html', res.data.content, that);
WxParse.wxParse('topicDetail', 'html', res.data.topic.content, that);
}
});

View File

@@ -9,7 +9,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.2.0",
"appid": "wx52ddd0f2221f9355",
"appid": "wxa5b486c6b918ecfb",
"projectname": "Renard",
"condition": {
"search": {