- 在 server 端添加了 /item/send 接口,用于发送物品到指定角色 - 在前端 HomeView 中增加了 GM 操作台功能,可以选定玩家角色名、物品和数量进行发送 - 引入了 body-parser 中间件用于解析请求体 - 优化了表单布局,增加了表单验证
28 lines
532 B
JSON
28 lines
532 B
JSON
{
|
|
"name": "pmrx-gm",
|
|
"version": "1.0.0",
|
|
"description": "飘渺儒仙GM管理服务",
|
|
"scripts": {
|
|
"server": "nodemon server/index.js",
|
|
"dev": "npm run dev --workspace=web",
|
|
"web": "npm run build --workspace=web"
|
|
},
|
|
"keywords": [
|
|
"node",
|
|
"vue"
|
|
],
|
|
"author": "kubbo",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"axios": "^1.8.4",
|
|
"body-parser": "^2.2.0",
|
|
"dotenv": "^16.5.0",
|
|
"express": "^5.1.0",
|
|
"mysql": "^2.18.1",
|
|
"nodemon": "^3.1.10"
|
|
},
|
|
"workspaces": [
|
|
"web"
|
|
]
|
|
}
|