|
|
@@ -248,8 +248,8 @@
|
|
|
contentType: false,
|
|
|
success: function (result) {
|
|
|
if (result.code == 0) {
|
|
|
- photoUrl = result.data.fileName;
|
|
|
- $("#div-bgUrl").html("<img src='" + result.data.fileName + "' style='width:300px;margin-bottom: 5px;'>");
|
|
|
+ photoUrl = result.data.url;
|
|
|
+ $("#div-bgUrl").html("<img src='" + result.data.url + "' style='width:300px;margin-bottom: 5px;'>");
|
|
|
} else {
|
|
|
$.modal.alertWarning(result.msg);
|
|
|
}
|