方法列表
创建有效期
admin
RPC
createADPackagePeriod (CreateADPackagePeriodRequest) returns (CreateADPackagePeriodResponse)
HTTP
POST /ADPackagePeriodService/createADPackagePeriod
输入对象:CreateADPackagePeriodRequest:
{ // 数量 int32 count; // month | year string unit; }
输出对象:CreateADPackagePeriodResponse:
修改有效期
admin
RPC
updateADPackagePeriod (UpdateADPackagePeriodRequest) returns (RPCSuccess)
HTTP
POST /ADPackagePeriodService/updateADPackagePeriod
输入对象:UpdateADPackagePeriodRequest:
{ int64 adPackagePeriodId; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
删除有效期
admin
RPC
deleteADPackagePeriod (DeleteADPackagePeriodRequest) returns (RPCSuccess)
HTTP
POST /ADPackagePeriodService/deleteADPackagePeriod
输入对象:DeleteADPackagePeriodRequest:
输出对象:RPCSuccess:
{ }
查找有效期
admin
RPC
findADPackagePeriod (FindADPackagePeriodRequest) returns (FindADPackagePeriodResponse)
HTTP
POST /ADPackagePeriodService/findADPackagePeriod
输入对象:FindADPackagePeriodRequest:
输出对象:FindADPackagePeriodResponse:
列出所有有效期
admin
RPC
findAllADPackagePeriods (FindAllADPackagePeriodsRequest) returns (FindAllADPackagePeriodsResponse)
HTTP
POST /ADPackagePeriodService/findAllADPackagePeriods
输入对象:FindAllADPackagePeriodsRequest:
{ }
输出对象:FindAllADPackagePeriodsResponse:
列出所有可用有效期
admin
RPC
findAllAvailableADPackagePeriods (FindAllAvailableADPackagePeriodsRequest) returns (FindAllAvailableADPackagePeriodsResponse)
HTTP
POST /ADPackagePeriodService/findAllAvailableADPackagePeriods
输入对象:FindAllAvailableADPackagePeriodsRequest:
{ }
输出对象:FindAllAvailableADPackagePeriodsResponse: