faq
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
syntax = "v1"
|
||||
|
||||
info (
|
||||
title: // TODO: add title
|
||||
desc: // TODO: add description
|
||||
author: ""
|
||||
email: ""
|
||||
)
|
||||
|
||||
import "basic.api"
|
||||
|
||||
service faq {
|
||||
@handler WetSetSettingHandler
|
||||
get /web-set/setting(request) returns (response);
|
||||
}
|
||||
25
server_api/webset.api
Normal file
25
server_api/webset.api
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "v1"
|
||||
|
||||
info (
|
||||
title: // TODO: add title
|
||||
desc: // TODO: add description
|
||||
author: ""
|
||||
email: ""
|
||||
)
|
||||
|
||||
import "basic.api"
|
||||
|
||||
service wetset {
|
||||
@handler WetSetSettingHandler
|
||||
get /web-set/setting(RequestFaq) returns (response);
|
||||
}
|
||||
|
||||
type RequestFaq {
|
||||
Type string `form:"type"`
|
||||
}
|
||||
|
||||
type DataWetSet {
|
||||
Title string `json:"title"`
|
||||
Introduction string `json:"introduction"`
|
||||
List interface{} `json:"list"`
|
||||
}
|
||||
Reference in New Issue
Block a user