push code

This commit is contained in:
gin
2024-06-15 14:59:52 +07:00
commit b519879332
84 changed files with 20222 additions and 0 deletions

43
src/api/index.js Normal file
View 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"
};