功能:同步小程序流程

This commit is contained in:
xiaowang
2026-05-23 18:45:41 +08:00
parent 844516988b
commit 30ae763e18
117 changed files with 8823 additions and 76 deletions
+12
View File
@@ -5,12 +5,20 @@
const request = require('../utils/request')
module.exports = {
/**
* Purpose: listByProduct supports comment.js by holding or executing the list by product 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.
*/
listByProduct(productId) {
return request({
url: `/comment/list/product/${productId}`
})
},
/**
* Purpose: create supports comment.js by holding or executing the create 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.
*/
create(data) {
return request({
url: '/comment/create',
@@ -19,6 +27,10 @@ module.exports = {
})
},
/**
* Purpose: delete supports comment.js by holding or executing the delete 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.
*/
delete(id) {
return request({
url: `/comment/delete/${id}`,