4
This commit is contained in:
@@ -9,7 +9,7 @@ define(['form'], function (Form) {
|
||||
return false;
|
||||
})
|
||||
var form = $('#settingsform');
|
||||
Config['uploadurl'] = '/app/admin/attachment/upload';
|
||||
Config['upload_url'] = 'attach/upload';
|
||||
Form.api.bindevent(form,function(res){
|
||||
if (res.code) {
|
||||
return lightyear.notify(res.msg, 'danger', 3000, 'mdi mdi-emoticon-happy', 'top', 'center');
|
||||
@@ -70,7 +70,7 @@ define(['form'], function (Form) {
|
||||
data[$(this).attr('name')]=$(this).val();
|
||||
});
|
||||
Fast.api.ajax({
|
||||
'url':'/app/admin/config/testmail',
|
||||
'url':'config/testmail',
|
||||
'data':data,
|
||||
success:function(res){
|
||||
Fast.api.success("操作成功");
|
||||
|
||||
Reference in New Issue
Block a user