LedgerTeacChangeModel.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. class LedgerTeacChangeModel extends Model
  5. {
  6. // LedgerPowerChangeModel
  7. protected $name = "ledger_teac_change";
  8. //0支付 1转让支付 2 转让收款 3 充值 4 提现 5扣除书续费
  9. const Pledge = 0;
  10. const Sell = 1;
  11. const SellBuy = 2;
  12. const Buying = 3;
  13. const BuySell = 4;
  14. const SellCancel = 5;
  15. const Exchange = 6;
  16. /*
  17. * 支付状态
  18. * 0未支付 100支付中 200支付成功 400支付失败
  19. */
  20. public $pay_status = [
  21. '-1' => '全部',
  22. self::Pledge => '质押存储',
  23. self::Sell => '出售',
  24. self::SellBuy => '出售购买',
  25. self::Buying => '存储',
  26. self::BuySell => '存储出售',
  27. self::SellCancel => '取消出售',
  28. self::SellCancel => '兑换产品',
  29. ];
  30. //getStatusList
  31. public static function getStatusList()
  32. {
  33. return [
  34. self::Pledge => __('质押存储'),
  35. self::Sell => __('出售'),
  36. self::SellBuy => __('出售购买'),
  37. self::Buying => __('存储'),
  38. self::BuySell => __('存储出售'),
  39. self::SellCancel => __('取消出售'),
  40. self::Exchange =>__('兑换产品')
  41. ];
  42. }
  43. }