统一甲屿云命名体系

This commit is contained in:
2026-06-29 23:26:43 +08:00
parent 48c47fe3ff
commit bc8a7d8d4c
1268 changed files with 3477 additions and 3511 deletions
+29
View File
@@ -0,0 +1,29 @@
/**
* Purpose: request supports comment.js by holding or executing the request page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
const request = require('../utils/request')
module.exports = {
/**
* Purpose: listComments supports comment.js by holding or executing the list comments page or API role.
* Usage: import, call, read, or update this method from the owning page/module while preserving the surrounding loading and permission flow.
*/
listComments(params) {
return request({
url: '/comment/list',
params
})
},
/**
* Purpose: deleteComment supports comment.js by holding or executing the delete comment page or API role.
* Usage: import, call, read, or update this method from the owning page/module while preserving the surrounding loading and permission flow.
*/
deleteComment(id) {
return request({
url: `/comment/delete/${id}`,
method: 'DELETE'
})
}
}