model.js
499 Bytes
/*
* @Author: Targaryen
* @Date: 2017-04-26 17:31:12
* @Last Modified by: Targaryen
* @Last Modified time: 2017-04-26 17:47:43
*/
'use strict';
import {
http
} from 'yoho-mvc';
class Guang {
constructor() {
console.log('guang-model', '------->');
}
/**
* 加载更多
*/
loadMore(params) {
return http({
type: 'GET',
url: '/guang/index/page',
data: params
});
}
}
module.exports = {
Guang
};