@@ -837,7 +845,8 @@ export default {
});
uni.uploadFile({
// url: "https://user.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx?action_type=UploadFile&folder=MBWA",
- url: "https://es.robot-z.cn/oss/upload",
+ // url: "https://es.robot-z.cn/oss/upload",
+ url: "https://es.eshangtech.com/oss/upload",
filePath: res.tempFilePath,
header: {
"Content-Type": "multipart/form-data",
@@ -854,7 +863,7 @@ export default {
console.log("data", data);
uni.hideLoading();
_this.imgsList.push(
- `https://es.robot-z.cn/${data.data.path}`
+ `https://es.eshangtech.com/${data.data.path}`
);
},
fail(error) {
@@ -874,7 +883,8 @@ export default {
});
uni.uploadFile({
// url: "https://user.eshangtech.com/Coop.Merchant/Handler/handler_ajax.ashx?action_type=UploadFile&folder=MBWA",
- url: "https://es.robot-z.cn/oss/upload",
+ // url: "https://es.robot-z.cn/oss/upload",
+ url: "https://es.eshangtech.com/oss/upload",
filePath: rs.tempFilePaths[0],
fileType: "image",
header: {
@@ -889,7 +899,9 @@ export default {
}
console.log("data", data);
uni.hideLoading();
- _this.imgsList.push(`https://es.robot-z.cn/${data.data.path}`);
+ _this.imgsList.push(
+ `https://es.eshangtech.com/${data.data.path}`
+ );
// path;
},
fail(error) {
@@ -988,6 +1000,14 @@ export default {
this.$forceUpdate();
}
},
+ showImg2(index, imgList) {
+ uni.previewImage({
+ urls: imgList,
+ current: index,
+ loop: true,
+ indicator: "number",
+ });
+ },
// 修改情况类型
handleChangeSituationType(e) {
diff --git a/util/apiPath.js b/util/apiPath.js
index e1255c5..773c518 100644
--- a/util/apiPath.js
+++ b/util/apiPath.js
@@ -2,7 +2,7 @@
* @Author: cclu 1106109051@qq.com
* @Date: 2023-05-16 09:06:13
* @LastEditors: cclu 1106109051@qq.com
- * @LastEditTime: 2025-03-19 11:20:27
+ * @LastEditTime: 2025-03-27 15:45:03
* @FilePath: \wechat_yxcl\util\apiPath.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -18,7 +18,8 @@ export default {
// apiurl: 'https://erysfeipeng.oicp.net/', // web api
testApiurl: 'http://dev.eshangtech.com:8001/', // web api测试接口地址
- NodeApiurl: 'https://es.robot-z.cn/', // web api测试接口地址
+ // NodeApiurl: 'https://es.robot-z.cn/', // web api测试接口地址
+ NodeApiurl: 'https://es.eshangtech.com/', // web api测试接口地址
// NodeApiurl: 'http://home.robot-z.cn:7001/',
mobUrl: 'http://192.168.11.125:8000/Coop.Merchant/Handler/handler_ajax.ashx', // 接口
testURL1: 'http://192.168.10.123:8000', // 测试ip