feat(recharge): add full virtual recharge flow for aigc credits
- Replace legacy recharge API endpoints with new dedicated VirtualRechargeApi with sensitive request logging - Implement pending order tracking, automatic payment reconciliation, and recovery for interrupted payments - Overhaul recharge component logic to support both pre-defined package and custom amount recharge - Fix currency price formatting to consistently display 2 decimal places for all monetary values - Remove unused xiaoqi-avatar asset and related component imports - Simplify Vite build asset naming configuration - Switch application to test development mode
This commit is contained in:
@@ -23,14 +23,6 @@ export default defineConfig({
|
||||
commonjsOptions: {
|
||||
transformMixedEsModules: true,
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
assetFileNames(d) {
|
||||
const baseName = d.name.replace(/\\/g, "/").split("/").pop();
|
||||
const newName = md5(baseName) + ".[hash].[extname]";
|
||||
return `assets/${newName}`;
|
||||
},
|
||||
},
|
||||
},
|
||||
rollupOptions: {},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user