1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Compare commits

..

No commits in common. "production" and "main" have entirely different histories.

6 changed files with 6 additions and 13 deletions

View File

@ -6,7 +6,7 @@
* - 开发环境'ws://127.0.0.1:80/access/websocket/'
* 'ws://127.0.0.1:8002/access/websocket/'
*/
window.wsUrl = 'wss://epp.only4.work/access/websocket/';
window.wsUrl = 'ws://127.0.0.1:80/access/websocket/';
window.ws = null; // WebSocket 实例对象

View File

@ -9,7 +9,7 @@
* - 开发环境"develop"
*/
// 定义常量
const baseUrl = "https://epp.only4.work/"
const baseUrl = "/"
const url = baseUrl + "access/wechat/getUnlimitedQRCode"
const page = "pages/index/index" // "pages/scan/entrance"
const envVersion = "release" // 正式版为 "release",体验版为 "trial",开发版为 "develop"

View File

@ -57,14 +57,7 @@ public class GoodController {
}
}
List<GoodVO> list = goodService.listOnSale(cateId, searchText);
// return Res.success(list);
// 小程序商品列表页 划线价格 未划线价格 写反了所以接口这里也反过来写
return Res.success(list.stream().peek(i -> {
Double retailPrice = i.getRetailPrice();
i.setRetailPrice(i.getCounterPrice());
i.setCounterPrice(retailPrice);
}).collect(Collectors.toList()));
return Res.success(list);
}
/**

View File

@ -506,7 +506,7 @@ const handleDelete = (index: number, row: any) => {
//
const handleExport = async () => {
let params = {};
//
//
if (exportConfig.value.withFilter) {
params = JSON.parse(JSON.stringify(query))
//

View File

@ -29,5 +29,5 @@ export default {
* - 线上环境"https://epp.only4.work/"
* - 开发环境"http://localhost/"
*/
backendHost: "https://epp.only4.work/",
backendHost: "http://localhost/",
};

View File

@ -29,7 +29,7 @@ App({
* - 线上环境'https://epp.only4.work'
* - 开发环境'http://localhost'
*/
baseUrl: "https://epp.only4.work", // Api 请求域名 不带最后的 /
baseUrl: "http://localhost", // Api 请求域名 不带最后的 /
userInfo: null
}
})