/** * Purpose: request supports nail-artist.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: listNailArtists supports nail-artist.js by holding or executing the list nail artists 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. */ listNailArtists() { return request({ url: '/nail-artist/list' }) }, /** * Purpose: getNailArtistInfo supports nail-artist.js by holding or executing the get nail artist info 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. */ getNailArtistInfo(userId) { return request({ url: `/nail-artist/get/${userId}` }) }, /** * Purpose: saveNailArtistInfo supports nail-artist.js by holding or executing the save nail artist info 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. */ saveNailArtistInfo(data) { return request({ url: '/nail-artist/save', method: 'POST', data }) } }