方法列表
创建线路分类
admin
user
RPC
createNSRouteCategory (CreateNSRouteCategoryRequest) returns (CreateNSRouteCategoryResponse)
HTTP
POST /NSRouteCategoryService/createNSRouteCategory
输入对象:CreateNSRouteCategoryRequest:
{ // 名称 string name; }
输出对象:CreateNSRouteCategoryResponse:
修改线路分类
admin
user
RPC
updateNSRouteCategory (UpdateNSRouteCategoryRequest) returns (RPCSuccess)
HTTP
POST /NSRouteCategoryService/updateNSRouteCategory
输入对象:UpdateNSRouteCategoryRequest:
{ int64 nsRouteCategoryId; // 名称 string name; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
删除线路分类
admin
user
RPC
deleteNSRouteCategory (DeleteNSRouteCategoryRequest) returns (RPCSuccess)
HTTP
POST /NSRouteCategoryService/deleteNSRouteCategory
输入对象:DeleteNSRouteCategoryRequest:
输出对象:RPCSuccess:
{ }
列出所有线路分类
admin
user
RPC
findAllNSRouteCategories (FindAllNSRouteCategoriesRequest) returns (FindAllNSRouteCategoriesResponse)
HTTP
POST /NSRouteCategoryService/findAllNSRouteCategories
输入对象:FindAllNSRouteCategoriesRequest:
{ }
输出对象:FindAllNSRouteCategoriesResponse:
对线路分类进行排序
admin
user
RPC
updateNSRouteCategoryOrders (UpdateNSRouteCategoryOrders) returns (RPCSuccess)
HTTP
POST /NSRouteCategoryService/updateNSRouteCategoryOrders
输入对象:UpdateNSRouteCategoryOrders:
输出对象:RPCSuccess:
{ }
查找单个线路分类
admin
user
RPC
findNSRouteCategory (FindNSRouteCategoryRequest) returns (FindNSRouteCategoryResponse)
HTTP
POST /NSRouteCategoryService/findNSRouteCategory
输入对象:FindNSRouteCategoryRequest:
输出对象:FindNSRouteCategoryResponse: