| 12345678910111213141516171819 |
- const http = require('../utils/axios')
- module.exports = class Chain {
- static async getAll() {
- const url = '/chain/getAll'
- const rst = await http.post(url, {})
- return rst.data
- }
- static async findById(id) {
- const url = '/chain/findById'
- const rst = await http.post(url, {
- id: id
- })
- return rst.data
- }
- }
|