define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) { var Controller = { index: function () { Controller.api.bindevent(); }, api: { bindevent: function () { Form.api.bindevent($("form[role=form]"), function (data, ret) { Toastr.success(ret.msg || '充值配置保存成功'); }); } } }; return Controller; });