feat(platform): add platform access control with quota management
- Add userPlatform hook to derive available platforms from company config - Add platform access section in company popup with MT4/MT5 switch and quota limits - Add platform access column in company list showing quota usage - Replace hardcoded platform options with dynamic userPlatform in account/alert/data-source pages - Add getPlatformList API and extend CompanyListItem typings - Add i18n translations for platform access related keys - Update dev proxy target port to 8082 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,8 @@ export default {
|
||||
'/api': {
|
||||
// The address to proxy
|
||||
// target: 'http://2333z061l7.51mypc.cn',
|
||||
target: 'http://172.20.177.121:8080',
|
||||
// target: 'http://172.20.177.121:8080',
|
||||
target: 'http://172.20.177.121:8082',
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/api': '',
|
||||
|
||||
Reference in New Issue
Block a user