芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/api/discount/config/routes.json
{ "routes": [ { "method": "GET", "path": "/discounts", "handler": "discount.find", "config": { "policies": [] } }, { "method": "GET", "path": "/discounts/count", "handler": "discount.count", "config": { "policies": [] } }, { "method": "GET", "path": "/discounts/:id", "handler": "discount.findOne", "config": { "policies": [] } }, { "method": "GET", "path": "/discounts/discountByCode/:code", "handler": "discount.discountByCode", "config": { "policies": [] } }, { "method": "GET", "path": "/discounts/getCurrentForLevel/:levelId", "handler": "discount.getCurrentForLevel", "config": { "policies": [] } }, { "method": "POST", "path": "/discounts", "handler": "discount.create", "config": { "policies": [] } }, { "method": "PUT", "path": "/discounts/:id", "handler": "discount.update", "config": { "policies": [] } }, { "method": "DELETE", "path": "/discounts/:id", "handler": "discount.delete", "config": { "policies": [] } } ] }