summaryrefslogtreecommitdiff
path: root/front-end/src/service/machine-service.jsx
blob: 7278665a0f85068e831bde8a713ca84c7fe4cd3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import PGUtil    from 'util/util.jsx'
import PGConstant from 'util/constant.jsx'
// const _const = new PGConstant();
const _util       = new PGUtil();

class MachineService{
    getMachineList(page){
        let url = PGConstant.base_url + '/machines';
        return _util.request({
            type    : 'get',
            url     : url,
            data    : {
                page : page
            }
        });
    }
}

export default MachineService;