Refactored OpenAPI

This commit is contained in:
Peng-YM
2022-05-25 11:27:53 +08:00
parent fb660ce957
commit 3f6b1356cb
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 $;