mpmenus.js 411B

12345678910111213141516171819202122232425
  1. import request from '@/utils/request'
  2. export function GetMenus() {
  3. return request({
  4. url: '/api/mpwechat/menus',
  5. method: 'get',
  6. })
  7. }
  8. export function SaveMenus(data) {
  9. return request({
  10. url: '/api/mpwechat/savemenus',
  11. method: 'put',
  12. data:data,
  13. })
  14. }
  15. export function DeleteMenu(data) {
  16. return request({
  17. url: '/api/mpwechat/deletemenus',
  18. method: 'post',
  19. data:data,
  20. })
  21. }