feat: 合并Gin_Vue

This commit is contained in:
TsMask
2023-10-16 17:12:24 +08:00
parent 771320a839
commit 743568861d
77 changed files with 734 additions and 1870 deletions

15
public/config.js Normal file
View File

@@ -0,0 +1,15 @@
/**
* config 临时配置参数
*/
(function () {
// host = ip:prot
const host = "192.168.12.12:3030";
// 服务地址
const baseUrl = `http://${host}`
sessionStorage.setItem("baseUrl", baseUrl)
// websocket
const wsUrl = `ws://${host}`
sessionStorage.setItem("wsUrl", wsUrl)
})();