|
@@ -498,7 +498,7 @@
|
|
|
console.log('111')
|
|
console.log('111')
|
|
|
// pest.pests.insect_discern 虫害
|
|
// pest.pests.insect_discern 虫害
|
|
|
uni.uploadFile({
|
|
uni.uploadFile({
|
|
|
- // url: 'http://114.115.147.140:8002/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
|
|
|
|
+ // url: 'http://dev.hnyfwlw.com/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
url: 'http://8.136.98.49:8002/api/api_gateway?method=pest.pests.insect_discern', //仅为示例,非真实的接口地址
|
|
url: 'http://8.136.98.49:8002/api/api_gateway?method=pest.pests.insect_discern', //仅为示例,非真实的接口地址
|
|
|
filePath: ev.path,
|
|
filePath: ev.path,
|
|
|
name: 'img_file',
|
|
name: 'img_file',
|
|
@@ -521,7 +521,7 @@
|
|
|
title: '加载中'
|
|
title: '加载中'
|
|
|
});
|
|
});
|
|
|
uni.uploadFile({
|
|
uni.uploadFile({
|
|
|
- // url: 'http://114.115.147.140:8002/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
|
|
|
|
+ // url: 'http://dev.hnyfwlw.com/api/api_gateway?method=base.bases.base_photo', //仅为示例,非真实的接口地址
|
|
|
url: 'http://8.136.98.49:8002/api/api_gateway?method=pest.pests.plant_discern', //仅为示例,非真实的接口地址
|
|
url: 'http://8.136.98.49:8002/api/api_gateway?method=pest.pests.plant_discern', //仅为示例,非真实的接口地址
|
|
|
filePath: ev.path,
|
|
filePath: ev.path,
|
|
|
name: 'img_file',
|
|
name: 'img_file',
|
|
@@ -587,6 +587,7 @@
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
|
// console.log(this.$QueryPermission(242))
|
|
// console.log(this.$QueryPermission(242))
|
|
|
|
|
+
|
|
|
var time = new Date()
|
|
var time = new Date()
|
|
|
var hours = time.getHours()
|
|
var hours = time.getHours()
|
|
|
if (hours < 12) {
|
|
if (hours < 12) {
|