MCPcopy Create free account
hub / github.com/badyun/AShare / delete

Function delete

controller/share.js:28–31  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

26 res.return('操作成功')
27 },
28 async delete(req, res) {
29 db('share').remove({ adminId: req.info.userInfo.id, id: req.body.id }).write()
30 res.return('删除成功')
31 }
32 },
33 downLoad: {
34 async get(req, res) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected