This commit is contained in:
eson
2023-06-21 18:59:27 +08:00
parent 28cc8a19ba
commit d987601afd
14 changed files with 152 additions and 63 deletions

View File

@@ -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
View 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"`
}