diff --git a/.circleci/config.yml b/.circleci/config.yml index ff1950e..26416e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,7 +57,7 @@ jobs: # - persist_to_workspace: # root: ~/react # paths: - # - dist + # - dist lint: diff --git a/app/apis/common.js b/app/apis/common.js index a2cc19d..2e3c8d2 100644 --- a/app/apis/common.js +++ b/app/apis/common.js @@ -4,7 +4,7 @@ import { mockURL, /* baseURL, */ path } from '@config' const prefix = 'usercenter' const option = { baseURL: mockURL } - +// Exporting all files export const login = createApi(`${path}/${prefix}/login`, option) // 登陆 export const logout = createApi(`${path}/${prefix}/logout`, option) // 登出 export const loginByTicket = createApi(`${path}/${prefix}/loginByTicket`, option) // 通过ticket登陆