merge(7.2.0.4): 版本分支驗收通過併入主分支
src/main.ts 匯出端點衝突逐側比對:保留主分支 v2 路徑與版本分支獨立域名,未採用單側整體覆蓋
This commit is contained in:
+2
-2
@@ -9,5 +9,5 @@ export const APP_NAME = "game-admin";
|
||||
/** 目前對外公告的版本號 */
|
||||
export const APP_VERSION = "7.2.0.0";
|
||||
|
||||
/** 匯出服務端點(示範例外直進主分支的參數配置) */
|
||||
export const EXPORT_ENDPOINT = "https://api.example.com/v2/export";
|
||||
/** 匯出服務端點(併入主分支時逐側比對:保留主分支的 v2 路徑,並保留版本分支的獨立匯出域名) */
|
||||
export const EXPORT_ENDPOINT = "https://export.example.com/api/v2/export";
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 列印序號模組(沙盤推演示意)
|
||||
*/
|
||||
|
||||
/** 列印序號設定 */
|
||||
export interface PrintSequence {
|
||||
/** 序號前綴 */
|
||||
prefix: string;
|
||||
/** 目前流水號 */
|
||||
current: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 產生下一個列印序號
|
||||
* @param seq - 目前序號設定
|
||||
* @returns 遞增後的新序號字串
|
||||
*/
|
||||
export const nextSequence = (seq: PrintSequence): string => `${seq.prefix}${seq.current + 1}`;
|
||||
Reference in New Issue
Block a user