方法列表
设置流量包价格
admin
RPC
updateTrafficPackagePrice (UpdateTrafficPackagePriceRequest) returns (RPCSuccess)
HTTP
POST /TrafficPackagePriceService/updateTrafficPackagePrice
输入对象:UpdateTrafficPackagePriceRequest:
输出对象:RPCSuccess:
{ }
获取单个流量包具体价格
admin
RPC
findTrafficPackagePrice (FindTrafficPackagePriceRequest) returns (FindTrafficPackagePriceResponse)
HTTP
POST /TrafficPackagePriceService/findTrafficPackagePrice
输入对象:FindTrafficPackagePriceRequest:
输出对象:FindTrafficPackagePriceResponse:
{ // 单价 double price; // 总价 double amount; }
计算流量包价格项数量
admin
RPC
countTrafficPackagePrices (CountTrafficPackagePricesRequest) returns (RPCCountResponse)
HTTP
POST /TrafficPackagePriceService/countTrafficPackagePrices
输入对象:CountTrafficPackagePricesRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
查找流量包价格
admin
RPC
findTrafficPackagePrices (FindTrafficPackagePricesRequest) returns (FindTrafficPackagePricesResponse)
HTTP
POST /TrafficPackagePriceService/findTrafficPackagePrices
输入对象:FindTrafficPackagePricesRequest:
输出对象:FindTrafficPackagePricesResponse:
查找所有流量包价格
admin
RPC
findAllTrafficPackagePrices (FindAllTrafficPackagePricesRequest) returns (FindAllTrafficPackagePricesResponse)
HTTP
POST /TrafficPackagePriceService/findAllTrafficPackagePrices
输入对象:FindAllTrafficPackagePricesRequest:
{ }
输出对象:FindAllTrafficPackagePricesResponse: