Commit 6df32693 authored by 黄奎's avatar 黄奎

广告图上传修改

parent 9be47004
This diff is collapsed.
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"jspdf": "^1.4.1", "jspdf": "^1.4.1",
"lrz": "^4.9.40", "lrz": "^4.9.40",
"moment": "^2.24.0",
"node-sass": "^4.11.0", "node-sass": "^4.11.0",
"pdfjs-dist": "^2.0.489", "pdfjs-dist": "^2.0.489",
"pinyin": "^2.8.3", "pinyin": "^2.8.3",
......
...@@ -160,11 +160,12 @@ export default { ...@@ -160,11 +160,12 @@ export default {
var imgUrl = this.domainManager().ViittoFileUrl + x.data.FilePath; var imgUrl = this.domainManager().ViittoFileUrl + x.data.FilePath;
obj.Path = x.data.FilePath; obj.Path = x.data.FilePath;
obj.ShowPath = imgUrl; obj.ShowPath = imgUrl;
imgArr.push(obj.ShowPath); imgArr.push(obj.Path);
let msg = { let msg = {
TCID:this.msg.TCID, TCID:this.msg.TCID,
AdvertisingPicUrlList:imgArr AdvertisingPicUrlList:imgArr
} }
this.apipost("travel_post_AddPriceLocalAdvert", msg, res => { this.apipost("travel_post_AddPriceLocalAdvert", msg, res => {
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.Success(res.data.message); this.Success(res.data.message);
......
This diff is collapsed.
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