```javascript
function fetch(o) {
(0, _util.request)({
url: o.url + "&m=weisrc_dish",
data: Object.assign({
m: "weisrc_dish"
}, o.data),
method: o.method || "GET",
header: {
"content-type": "application/json; charset=utf-8"
},
success: function(e) {
var t = e.data;
0 === t.errno ? o.success && o.success(t.data) : (alert(t.info), o.error && o.error(t.info)),
o.complete && o.complete();
}
});
}
```