功能:同步小程序流程

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,6 +5,10 @@
const request = require('../utils/request')
module.exports = {
/**
* Purpose: likeProduct supports product-like.js by holding or executing the like 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.
*/
likeProduct(productId) {
return request({
url: `/product-like/like/${productId}`,
@@ -12,6 +16,10 @@ module.exports = {
})
},
/**
* Purpose: unlikeProduct supports product-like.js by holding or executing the unlike 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.
*/
unlikeProduct(productId) {
return request({
url: `/product-like/unlike/${productId}`,
@@ -19,6 +27,10 @@ module.exports = {
})
},
/**
* Purpose: checkLikeStatus supports product-like.js by holding or executing the check like status 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.
*/
checkLikeStatus(productId) {
return request({
url: `/product-like/check/${productId}`