distrib.go 924 B

1234567891011121314151617181920212223
  1. package model
  2. //DistOrderArg 分销订单同步入参
  3. type DistOrderArg struct {
  4. Oid uint64 `form:"oid" validate:"required"`
  5. CmAmount uint64 `form:"cm_amount" validate:"min=1,required"`
  6. CmMethod int64 `form:"cm_method" validate:"min=1,required"`
  7. CmPrice uint64 `form:"cm_price" validate:"min=1,required"`
  8. Duid uint64 `form:"dist_user" validate:"min=0"`
  9. Stat int64 `form:"status" validate:"min=0"`
  10. Pid uint64 `form:"pid" validate:"min=0"`
  11. Count uint64 `form:"count" validate:"min=1,required"`
  12. Sid uint64 `form:"sid" validate:"min=0"`
  13. Type int64 `form:"type" validate:"min=0"`
  14. RefStat int64 `form:"refund_status" validate:"min=0"`
  15. PayAmount uint64 `form:"payment_amount" validate:"min=0"`
  16. Serial string `form:"serial" validate:"required"`
  17. }
  18. //DistOrderGetArg 分销订单查询入参
  19. type DistOrderGetArg struct {
  20. Oid uint64 `form:"oid" validate:"required"`
  21. }