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-07-21 07:20:18 +00:00
|
|
|
@handler WebSetSettingHandler
|
2023-07-12 03:09:43 +00:00
|
|
|
get /api/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"`
|
|
|
|
}
|