- loadProfile() now returns Promise (was missing return) - Avatar upload via COS instead of storing WeChat temp path - Add POST /user/avatar endpoint with multer + COS SDK - Incomplete registration detection: redirect to register if phone is empty
22 行
524 B
JSON
22 行
524 B
JSON
{
|
|
"name": "hox-scf-api",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Tencent Cloud SCF Node.js API for Hox beauty device",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"start": "node scripts/local-server.js",
|
|
"db:init": "node scripts/init-db.js"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^2.4.3",
|
|
"cos-nodejs-sdk-v5": "^2.14.7",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^5.2.1",
|
|
"express-rate-limit": "^8.5.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"multer": "^2.1.1",
|
|
"mysql2": "^3.11.3"
|
|
}
|
|
}
|