[change] sui template api route
This commit is contained in:
parent
9bf92c8c1b
commit
dabc8a0841
1 changed files with 2 additions and 2 deletions
|
|
@ -11,13 +11,13 @@ var dsl = []byte(`
|
|||
"group": "__yao/sui/v1",
|
||||
"paths": [
|
||||
{
|
||||
"path": "/:id/template/find/:template_id",
|
||||
"path": "/:id/template/:template_id",
|
||||
"method": "GET",
|
||||
"process": "sui.Template.Find",
|
||||
"in": ["$param.id", "$param.template_id"],
|
||||
"out": { "status": 200, "type": "application/json" }
|
||||
},{
|
||||
"path": "/:id/template/get",
|
||||
"path": "/:id/template",
|
||||
"method": "GET",
|
||||
"process": "sui.Template.Get",
|
||||
"in": ["$param.id"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue