作者 yangfu

userbase restruct

... ... @@ -2,20 +2,20 @@ version: v1
kind: HttpApi
metadata:
service: userBase
path: /user-base
path: /userbase
endpoints:
- method: createUsersBase
- method: createUserBase
route:
post: /
- method: updateUsersBase
- method: updateUserBase
route:
put: /{userBaseId}
- method: getUsersBase
- method: getUserBase
route:
get: /{userBaseId}
- method: removeUsersBase
- method: removeUserBase
route:
delete: /{userBaseId}
- method: listUsersBase
- method: listUserBase
route:
post: /search
... ...
version: v1
kind: Method
metadata:
name: createUsersBase
name: createUserBase
type: command
description: 创建用户基础数据
payload:
... ...
version: v1
kind: Method
metadata:
name: getUsersBase
name: getUserBase
type: query
description: 返回用户基础数据
payload:
... ...
version: v1
kind: Method
metadata:
name: listUsersBase
name: listUserBase
type: query
description: 返回用户基础数据列表
payload:
... ...
version: v1
kind: Method
metadata:
name: removeUsersBase
name: removeUserBase
type: command
description: 移除用户基础数据
payload:
... ...
version: v1
kind: Method
metadata:
name: updateUsersBase
name: updateUserBase
type: command
description: 更新用户基础数据
payload:
... ...