方法列表
创建有效期
admin
RPC
createTrafficPackagePeriod (CreateTrafficPackagePeriodRequest) returns (CreateTrafficPackagePeriodResponse)
HTTP
POST /TrafficPackagePeriodService/createTrafficPackagePeriod
输入对象:CreateTrafficPackagePeriodRequest:
{ // 数量 int32 count; // month | year string unit; }
输出对象:CreateTrafficPackagePeriodResponse:
修改有效期
admin
RPC
updateTrafficPackagePeriod (UpdateTrafficPackagePeriodRequest) returns (RPCSuccess)
HTTP
POST /TrafficPackagePeriodService/updateTrafficPackagePeriod
输入对象:UpdateTrafficPackagePeriodRequest:
{ int64 trafficPackagePeriodId; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
删除有效期
admin
RPC
deleteTrafficPackagePeriod (DeleteTrafficPackagePeriodRequest) returns (RPCSuccess)
HTTP
POST /TrafficPackagePeriodService/deleteTrafficPackagePeriod
输入对象:DeleteTrafficPackagePeriodRequest:
输出对象:RPCSuccess:
{ }
查找有效期
admin
RPC
findTrafficPackagePeriod (FindTrafficPackagePeriodRequest) returns (FindTrafficPackagePeriodResponse)
HTTP
POST /TrafficPackagePeriodService/findTrafficPackagePeriod
输入对象:FindTrafficPackagePeriodRequest:
输出对象:FindTrafficPackagePeriodResponse:
列出所有有效期
admin
RPC
findAllTrafficPackagePeriods (FindAllTrafficPackagePeriodsRequest) returns (FindAllTrafficPackagePeriodsResponse)
HTTP
POST /TrafficPackagePeriodService/findAllTrafficPackagePeriods
输入对象:FindAllTrafficPackagePeriodsRequest:
{ }
输出对象:FindAllTrafficPackagePeriodsResponse:
列出所有可用有效期
admin
RPC
findAllAvailableTrafficPackagePeriods (FindAllAvailableTrafficPackagePeriodsRequest) returns (FindAllAvailableTrafficPackagePeriodsResponse)
HTTP
POST /TrafficPackagePeriodService/findAllAvailableTrafficPackagePeriods
输入对象:FindAllAvailableTrafficPackagePeriodsRequest:
{ }
输出对象:FindAllAvailableTrafficPackagePeriodsResponse: