@@ -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/';
@@ -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);
}
@@ -9,7 +9,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.2.0",
- "appid": "wx52ddd0f2221f9355",
+ "appid": "wxa5b486c6b918ecfb",
"projectname": "Renard",
"condition": {
"search": {