MasterOrderModel.php 659 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace app\model;
  3. use think\Model;
  4. class MasterOrderModel extends Model
  5. {
  6. protected $table = 'fc_master_order';
  7. protected $pk = 'id';
  8. //订单类型,1兑换商品,2商城商品,3服务
  9. public static $type_exchange_good = 1;
  10. public static $type_shopping_good = 2;
  11. public static $type_service = 3;
  12. //订单状态:0待支付,1支付失败,2支付成功待发货,3已发货,4已收货
  13. public static $order_status_wait_pay = 0;
  14. public static $order_status_pay_fail = 1;
  15. public static $order_status_not_deliver = 2;
  16. public static $order_status_deliver = 3;
  17. public static $order_status_receipt = 4;
  18. }