Fix getLdaps() GET

This commit is contained in:
Yang Luo
2023-02-18 16:27:47 +08:00
parent 3a70f4e788
commit 3ae81716b9
3 changed files with 6 additions and 6 deletions

View File

@ -104,7 +104,7 @@ func (c *ApiController) GetLdapUser() {
// GetLdaps
// @Tag Account API
// @Title GetLdaps
// @router /get-ldaps [post]
// @router /get-ldaps [get]
func (c *ApiController) GetLdaps() {
owner := c.Input().Get("owner")
@ -115,7 +115,7 @@ func (c *ApiController) GetLdaps() {
// GetLdap
// @Tag Account API
// @Title GetLdap
// @router /get-ldap [post]
// @router /get-ldap [get]
func (c *ApiController) GetLdap() {
id := c.Input().Get("id")