|
|
@@ -99,8 +99,8 @@
|
|
|
if (this.flag == 2) {
|
|
|
// pest.pests.insect_discern 虫害
|
|
|
uni.uploadFile({
|
|
|
- // url: 'http://114.115.147.140:8002/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
- url: 'http://114.115.147.140:8002/api/api_gateway?method=pest.pests.insect_discern', //仅为示例,非真实的接口地址
|
|
|
+ // url: 'http://dev.hnyfwlw.com/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
+ url: 'http://dev.hnyfwlw.com/api/api_gateway?method=pest.pests.insect_discern', //仅为示例,非真实的接口地址
|
|
|
filePath: ev.path,
|
|
|
name: 'img_file',
|
|
|
formData: {
|
|
|
@@ -115,8 +115,8 @@
|
|
|
} else if (this.flag == 1) {
|
|
|
//pest.pests.insect_discern病害识别
|
|
|
uni.uploadFile({
|
|
|
- // url: 'http://114.115.147.140:8002/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
- url: 'http://114.115.147.140:8002/api/api_gateway?method=pest.pests.plant_discern', //仅为示例,非真实的接口地址
|
|
|
+ // url: 'http://dev.hnyfwlw.com/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
+ url: 'http://dev.hnyfwlw.com/api/api_gateway?method=pest.pests.plant_discern', //仅为示例,非真实的接口地址
|
|
|
filePath: ev.path,
|
|
|
name: 'img_file',
|
|
|
formData: {
|