fix:appCode

This commit is contained in:
2025-05-26 10:35:23 +08:00
parent 5710c79d48
commit 2ad8499e47
12 changed files with 52 additions and 34 deletions
@@ -9,43 +9,43 @@
export default {
dev: {
'/api-uaa/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-user/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-log/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-search/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-generator/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-file/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-order/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
'/api-device/': {
target: 'http://119.45.169.13:9900',
// target: 'http://127.0.0.1:9900',
// target: 'http://119.45.169.13:9900',
target: 'http://127.0.0.1:9900',
changeOrigin: true,
},
},
@@ -36,6 +36,10 @@
path: '/system/myInfo.html',
component: './system/UserInfo',
},
{
path: '/system/miniApp.html',
component: './system/MiniApp',
},
],
},
{
@@ -66,6 +66,11 @@ const TableList: React.FC = () => {
dataIndex: 'name',
copyable: true,
},
{
title: 'AppCode',
dataIndex: 'appid',
copyable: true,
},
{
title: 'AppID',
dataIndex: 'appid',
@@ -261,7 +261,7 @@ export async function getMiniAppList(params: {
}
export async function saveOrUpdateMiniApp(data: SYSTEM.MiniApp) {
return request<API.OptionalResult<any>>('/api-user/miniApp/save', {
return request<API.OptionalResult<any>>('/api-user/miniApp/saveOrUpdate', {
method: 'POST',
data,
});