diff --git a/hb_client/.env.production b/hb_client/.env.production index d214255..a6efc10 100644 --- a/hb_client/.env.production +++ b/hb_client/.env.production @@ -2,6 +2,6 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://47.95.0.242:2222/api' +VUE_APP_BASE_API = 'http://49.232.14.174:2222/api' #VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' diff --git a/hb_client/src/api/sam.js b/hb_client/src/api/sam.js index 99940ae..404df4f 100644 --- a/hb_client/src/api/sam.js +++ b/hb_client/src/api/sam.js @@ -203,3 +203,11 @@ export function notPackremark(id, data) { data }) } +//物流图片上传 +export function ship(id, data) { + return request({ + url: `/sam/sale/${id}/up_ship/`, + method: 'POST', + data + }) +} diff --git a/hb_client/src/views/inm/fifodetail.vue b/hb_client/src/views/inm/fifodetail.vue index 669f4ca..512895c 100644 --- a/hb_client/src/views/inm/fifodetail.vue +++ b/hb_client/src/views/inm/fifodetail.vue @@ -36,7 +36,7 @@ }} - + diff --git a/hb_client/src/views/inm/product.vue b/hb_client/src/views/inm/product.vue index 4e9da3c..0c4d093 100644 --- a/hb_client/src/views/inm/product.vue +++ b/hb_client/src/views/inm/product.vue @@ -69,6 +69,13 @@ + + + + + + +