方法列表
创建分类
admin
RPC
createUserTicketCategory (CreateUserTicketCategoryRequest) returns (CreateUserTicketCategoryResponse)
HTTP
POST /UserTicketCategoryService/createUserTicketCategory
输入对象:CreateUserTicketCategoryRequest:
{ // 名称 string name; }
输出对象:CreateUserTicketCategoryResponse:
修改分类
admin
RPC
updateUserTicketCategory (UpdateUserTicketCategoryRequest) returns (RPCSuccess)
HTTP
POST /UserTicketCategoryService/updateUserTicketCategory
输入对象:UpdateUserTicketCategoryRequest:
{ int64 userTicketCategoryId; // 名称 string name; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
删除分类
admin
RPC
deleteUserTicketCategory (DeleteUserTicketCategoryRequest) returns (RPCSuccess)
HTTP
POST /UserTicketCategoryService/deleteUserTicketCategory
输入对象:DeleteUserTicketCategoryRequest:
输出对象:RPCSuccess:
{ }
查找所有分类
admin
RPC
findAllUserTicketCategories (FindAllUserTicketCategoriesRequest) returns (FindAllUserTicketCategoriesResponse)
HTTP
POST /UserTicketCategoryService/findAllUserTicketCategories
输入对象:FindAllUserTicketCategoriesRequest:
{ }
输出对象:FindAllUserTicketCategoriesResponse:
查找所有启用中的分类
admin
user
RPC
findAllAvailableUserTicketCategories (FindAllAvailableUserTicketCategoriesRequest) returns (FindAllAvailableUserTicketCategoriesResponse)
HTTP
POST /UserTicketCategoryService/findAllAvailableUserTicketCategories
输入对象:FindAllAvailableUserTicketCategoriesRequest:
{ }
输出对象:FindAllAvailableUserTicketCategoriesResponse:
查询单个分类
admin
RPC
findUserTicketCategory (FindUserTicketCategoryRequest) returns (FindUserTicketCategoryResponse)
HTTP
POST /UserTicketCategoryService/findUserTicketCategory
输入对象:FindUserTicketCategoryRequest:
输出对象:FindUserTicketCategoryResponse: