Refactored OpenAPI

This commit is contained in:
Peng-YM
2022-05-25 11:27:53 +08:00
parent 0e46d8e14d
commit bbe29a7fac
3 changed files with 222 additions and 227 deletions

View File

@@ -1,4 +1,4 @@
import { API } from '../utils/open-api';
const $ = API('sub-store');
import { OpenAPI } from '../utils/open-api';
const $ = new OpenAPI('sub-store');
export default $;