mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
38a3c4bc6e
commit
f1415ce03f
@ -318,9 +318,13 @@
|
||||
if (res.statusCode == 200) {
|
||||
let _advertPhotos = res.data;
|
||||
let _aPhotos = [];
|
||||
let _urlPath = '';
|
||||
// #ifdef MP-WEIXIN
|
||||
_urlPath = constant.url.baseUrl
|
||||
// #endif
|
||||
|
||||
_advertPhotos.forEach(function(_item) {
|
||||
_item.url = _item.url + "&time=" + new Date();
|
||||
_item.url = _urlPath + _item.url + "&time=" + new Date();
|
||||
|
||||
_aPhotos.push(_item);
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/mp-weixin/pages/complaintDetail/complaintDetail.wxss
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/complaintDetail/complaintDetail.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
/* pages/complaintDetail/complaintDetail.wxss */
|
||||
1
unpackage/dist/dev/mp-weixin/pages/complaintHandle/complaintHandle.wxss
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/complaintHandle/complaintHandle.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
/* pages/complaintHandle/complaintHandle.wxss */
|
||||
@ -454,9 +454,13 @@ var uniNoticeBar = function uniNoticeBar() {__webpack_require__.e(/*! require.en
|
||||
if (res.statusCode == 200) {
|
||||
var _advertPhotos = res.data;
|
||||
var _aPhotos = [];
|
||||
var _urlPath = '';
|
||||
|
||||
_urlPath = constant.url.baseUrl;
|
||||
|
||||
|
||||
_advertPhotos.forEach(function (_item) {
|
||||
_item.url = _item.url + "&time=" + new Date();
|
||||
_item.url = _urlPath + _item.url + "&time=" + new Date();
|
||||
|
||||
_aPhotos.push(_item);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user