pay_sum.go 629 B

123456789101112131415161718192021222324
  1. package http_model
  2. type PaySumRequest struct {
  3. ProjectId string `json:"project_id"` // 项目ID
  4. }
  5. type PaySum struct {
  6. StrategyId int `json:"strategy_id"` // 策略ID
  7. AllPayment float64 `json:"all_payment"'` //任务的全部费用
  8. }
  9. type PaySumResponce struct {
  10. //ProjectId string `json:"project_id"` // 项目ID
  11. PaySum []PaySum `json:"pay_sum"` //总数
  12. //FeeForm int `json:"fee_form""` //稿费形式
  13. }
  14. func NewPaySumRequest() *PaySumRequest {
  15. return new(PaySumRequest)
  16. }
  17. func NewPaySumResponse() *CommonResponse {
  18. resp := new(CommonResponse)
  19. resp.Data = new(ProjectTaskListData)
  20. return resp
  21. }