Giter VIP home page Giter VIP logo

mall-api's Introduction

  • 仿照 macro 大佬的 mall 商城.用Go重写api.不知道能不能实现.干就完事了.

项目地址

项目地址

原接口文档

文档地址

已经实现的接口

  • 后台用户管理

    • GET /api/admin/user/:id -> GET /api/admin/:id
    • POST /api/admin/delete/:id
    • GET /api/admin/info (用户菜单和角色还没有获取)
    • GET /api/admin/list
    • POST /api/admin/login
    • POST /api/admin/logout
    • GET /api/admin/refreshToken
    • POST /api/admin/register
    • GET /api/admin/role/:adminId
    • POST /api/admin/role/update
    • POST /api/admin/update/:id
    • POST /api/admin/updatePassword
    • POST /api/admin/updateStatus/:id
  • 商品管理

    • POST /api/product/create
    • GET /api/product/list
    • GET /api/product/simpleList
    • POST /api/product/update/:id
    • POST /api/product/batchUpdate/deleteStatus -> /api/product/update/deleteStatus
    • POST /api/product/batchUpdate/newStatus -> /api/product/update/newStatus
    • POST /api/product/batchUpdate/publishStatus -> /api/product/update/publishStatus
    • POST /api/product/batchUpdate/recommendStatus -> /api/product/update/recommendStatus
    • POST /api/product/batchUpdate/verifyStatus -> /api/product/update/verifyStatus
    • GET /api/product/updateInfo/:id
  • 后台用户角色管理

    • POST /api/role/allocMenu
    • POST /api/role/allocResource
    • POST /api/role/create
    • POST /api/role/delete
    • GET /api/role/list
    • GET /api/role/listAll
    • GET /api/role/listMenu/:roleId
    • GET /api/role/listResource/:roleId
    • POST /api/role/update/:id
    • POST /api/role/updateStatus/:id

mall-api's People

Contributors

summerkk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.