2026-05-19 11:00:28 +00:00
|
|
|
syntax = "v1"
|
|
|
|
|
|
|
|
|
|
info (
|
|
|
|
|
title: "Portal-Api-Gateway (PGW)"
|
|
|
|
|
desc: "Digimon web portal API gateway"
|
|
|
|
|
author: "daniel Wang"
|
|
|
|
|
email: "igs170911@gmail.com"
|
|
|
|
|
version: "0.0.1"
|
|
|
|
|
host: "127.0.0.1:8888"
|
|
|
|
|
schemes: "http,https"
|
|
|
|
|
consumes: "application/json"
|
|
|
|
|
produces: "application/json"
|
|
|
|
|
useDefinitions: true
|
2026-05-21 06:45:35 +00:00
|
|
|
bizCodeEnumDescription: "102000-成功<br>10101000-參數格式錯誤(Facade)<br>10104000-缺少必填欄位(Facade)<br>28101000-參數格式錯誤(Auth)<br>28104000-缺少必填欄位(Auth)<br>28201000-資料庫錯誤(Auth)<br>28301000-資源不存在(Auth)<br>28303000-資源已存在(Auth)<br>28309000-資源狀態無效(Auth)<br>28310000-配額不足(Auth)<br>28313000-資源鎖定(Auth)<br>28501000-未授權(Auth)<br>28505000-禁止存取(Auth)<br>28601000-系統內部錯誤(Auth)<br>28604000-請求過於頻繁(Auth)<br>28605000-功能未配置(Auth)<br>28802000-第三方服務錯誤(Auth)<br>29104000-缺少必填欄位(Member)<br>29201000-資料庫錯誤(Member)<br>29301000-資源不存在(Member)<br>29303000-資源已存在(Member)<br>29309000-資源狀態無效(Member)<br>29310000-配額不足(Member)<br>29501000-未授權(Member)<br>29505000-禁止存取(Member)<br>29601000-系統內部錯誤(Member)<br>29604000-請求過於頻繁(Member)<br>29605000-功能未配置(Member)"
|
2026-05-19 11:00:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
import (
|
2026-05-21 06:45:35 +00:00
|
|
|
"auth.api"
|
2026-05-19 11:00:28 +00:00
|
|
|
"common.api"
|
2026-05-20 23:51:22 +00:00
|
|
|
"member.api"
|
2026-05-19 11:00:28 +00:00
|
|
|
"normal.api"
|
|
|
|
|
)
|
|
|
|
|
|