2023-06-21 10:59:27 +00:00
|
|
|
syntax = "v1"
|
|
|
|
|
|
|
|
info (
|
|
|
|
title: // TODO: add title
|
|
|
|
desc: // TODO: add description
|
|
|
|
author: ""
|
|
|
|
email: ""
|
|
|
|
)
|
|
|
|
|
|
|
|
import "basic.api"
|
|
|
|
|
2023-07-11 05:07:44 +00:00
|
|
|
service webset {
|
2023-06-21 10:59:27 +00:00
|
|
|
@handler WetSetSettingHandler
|
2023-06-25 03:26:47 +00:00
|
|
|
get /web-set/setting(RequestWebSet) returns (response);
|
2023-06-21 10:59:27 +00:00
|
|
|
}
|
|
|
|
|
2023-06-25 03:26:47 +00:00
|
|
|
type RequestWebSet {
|
2023-06-21 10:59:27 +00:00
|
|
|
Type string `form:"type"`
|
|
|
|
}
|
|
|
|
|
2023-07-11 05:07:44 +00:00
|
|
|
type DataWebSet {
|
2023-06-21 10:59:27 +00:00
|
|
|
Title string `json:"title"`
|
|
|
|
Introduction string `json:"introduction"`
|
|
|
|
List interface{} `json:"list"`
|
|
|
|
}
|