@@ -1,6 +1,6 @@
const dev = {
- baseUrlNew: 'https://apitest.eliangeyun.com',
- // baseUrlNew: 'http://192.168.110.67:8099',
+ // baseUrlNew: 'https://apitest.eliangeyun.com',
+ baseUrlNew: 'http://192.168.110.9:8099',
h5Appid: 'wxb66b599f7f61b46f',
debug: false
}
@@ -346,13 +346,11 @@
imgTypeSelect(val) {
let that = this
- console.log(val)
- console.log(this.uploadType)
uni.chooseImage({
count: 1,
success: function(res) {
console.log(JSON.stringify(res.tempFilePaths));
- uploadImage(res.tempFilePaths[0], 'appData/',
+ uploadImage("image",res.tempFilePaths[0], 'appData/',
result => {
// 上传成功回调函数
console.log('图片地址', result)
@@ -582,11 +582,6 @@
this.isShowAlert = false
},
getSearch(e) {
-
- // = uni.getStorageSync('useSearchList')
- // this.useSearchList.unshift(e)
- // uni.setStorageSync("useSearchList", this.useSearchList)
console.log("点击搜索", e)
this.upCallback({
size: 10,
@@ -602,8 +597,6 @@
});
upCallback(page) {
- debugger
if (!this.searchType) {
this.searchType = 0
@@ -163,7 +163,6 @@
identification:2
}).then(res => {
if (res.code == 200) {
- console.log("userInfo", res.data)
uni.setStorageSync('userInfo', res.data)
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
reCommonId: this.userInfo.id,
@@ -269,7 +269,7 @@
goodsName: '',
billingMethod: '元/吨',
freightPrice: '',
- freightAdvance: true,
+ freightAdvance: false,
sender: '',
senderPhone: '',
receiver: '',