功能:同步小程序流程
This commit is contained in:
@@ -5,18 +5,30 @@
|
||||
const request = require('../utils/request')
|
||||
|
||||
module.exports = {
|
||||
/**
|
||||
* Purpose: getPublicShops supports shop.js by holding or executing the get public shops 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.
|
||||
*/
|
||||
getPublicShops() {
|
||||
return request({
|
||||
url: '/shop/list/public'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* Purpose: getShopsSimple supports shop.js by holding or executing the get shops simple 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.
|
||||
*/
|
||||
getShopsSimple() {
|
||||
return request({
|
||||
url: '/shop/list/simple'
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* Purpose: getShopById supports shop.js by holding or executing the get shop by id 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.
|
||||
*/
|
||||
getShopById(id) {
|
||||
return request({
|
||||
url: `/shop/get/${id}`
|
||||
|
||||
Reference in New Issue
Block a user