Commit 7baf4a98 authored by 潘永坪's avatar 潘永坪

Merge remote-tracking branch 'remotes/origin/zhoucong' into develop

parents 0ed7c9c6 7591d052
......@@ -54,12 +54,9 @@
// 监听从裁剪页发布的事件,获得裁剪结果
uni.$on('uAvatarCropper', path => {
var that = this
var url = ""
if (process.env.NODE_ENV === 'development') { //开发环境
url = "http://192.168.0.213:7888/"
} else {
url = "http://manager.pangdly.com/"
}
var url = "http://manager.pangdly.com/"
uni.uploadFile({ // s上传图片
url: url + 'upload/file/newUpload',
filePath: path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment