push code
This commit is contained in:
43
src/api/index.js
Normal file
43
src/api/index.js
Normal file
@@ -0,0 +1,43 @@
|
||||
export default {
|
||||
// auth
|
||||
LOGIN: "/auth/login",
|
||||
REGISTER: "/auth/register",
|
||||
VALID_USERNAME: "/auth/valid-username",
|
||||
|
||||
CHECK_PASSWORD: "/auth/check-password",
|
||||
CHANGE_PASSWORD: "/auth/change-password",
|
||||
|
||||
PASSWORD_WITHDRAW: "/auth/password-withdraw",
|
||||
CHECK_PASSWORD_WITHDRAW: "/auth/check-password-withdraw",
|
||||
CHANGE_PASSWORD_WITHDRAW: "/auth/change-password-withdraw",
|
||||
|
||||
// user
|
||||
USER_INFO: "/user/info",
|
||||
USER_SET_FULLNAME: "/user/set-fullname",
|
||||
|
||||
// game
|
||||
GAME_INFO: "/product/info",
|
||||
GAME_HISTORY: "/game/result-history",
|
||||
GAME_RESULT: "/game/last-result",
|
||||
GAME_CURRENT: "/game/current-game",
|
||||
|
||||
// bank
|
||||
BANK_LIST: "/bank/list",
|
||||
BANK_LINK: "/bank/link",
|
||||
|
||||
BANK_INFO: "admin/config/bank",
|
||||
|
||||
// transaction
|
||||
TRANSACTION_DEPOSIT: "/transaction/deposit",
|
||||
TRANSACTION_WITHDRAW: "/transaction/withdraw",
|
||||
TRANSACTION_HISTORY: "/transaction/history",
|
||||
|
||||
// /product
|
||||
PRODUCT_LIST: "/product/list",
|
||||
|
||||
// order
|
||||
ORDER_HISTORY: "order/history",
|
||||
ORDER: "/order",
|
||||
ORDER_DATE_PROFIT: "/order/date-profit"
|
||||
|
||||
};
|
Reference in New Issue
Block a user