Commit 0e524a18 authored by ZhuChunYang's avatar ZhuChunYang

update

parent ba053328
......@@ -17,7 +17,8 @@ class UploadForm extends BaseForm
const IMAGE_SAVE_DIR = [
1 => "/coin/", //存放logo
2 => "/banner/" //存放banner
2 => "/banner/", //存放banner
3 => "/application/" //存放应用详情图片
];
......
......@@ -138,7 +138,7 @@
uploader.render({
elem: "#upload1",
url: '/admin/image/upload',
data: {_csrf: $_csrf},
data: {_csrf: $_csrf,image_type:3},
done: function (res) {
if(res.code == 0){
$("input[name='image']").val(res.data.image_id);
......
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