Browse Source

用户接口版本号调整

feature_wq
JeshuaRen 9 months ago
parent
commit
69164e1a93
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sdks/storage/cdsapi/user.go

+ 2
- 2
sdks/storage/cdsapi/user.go View File

@@ -8,7 +8,7 @@ import (
"gitlink.org.cn/cloudream/common/utils/http2"
)

const UserCreatePath = "/user/create"
const UserCreatePath = "/v1/user/create"

type UserCreate struct {
Name string `json:"name" binding:"required"`
@@ -41,7 +41,7 @@ func (c *Client) UserCreate(req *UserCreate) (*UserCreateResp, error) {
return nil, codeResp.ToError()
}

const UserDeletePath = "/user/delete"
const UserDeletePath = "/v1/user/delete"

type UserDelete struct {
UserID cdssdk.UserID `json:"userID" binding:"required"`


Loading…
Cancel
Save