You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

81 lines
1.5 KiB

<?php
namespace App\Model;
class OrderMain extends Model
{
// 窟�땐데,棍찡
const ORDER_TYPE_ONLINE = 1;
// 窟苟땐데,뎠충마
const ORDER_TYPE_OFFLINE = 4;
// 땐데榴檄
// 덤마운
const ORDER_STATE_UNPAY = 1;
// 덤쌈데
const ORDER_STATE_UNTAKE = 2;
// 덤箇댐
const ORDER_STATE_DELIVERY = 3;
// 綠供냥
const ORDER_STATE_COMPLETE = 4;
// 綠팀송
const ORDER_STATE_EVALUATED = 5;
// 綠혤句
const ORDER_STATE_CANCEL = 6;
// 綠앳데
const ORDER_STATE_REFUSE = 7;
// 藁운櫓
const ORDER_STATE_REFUNDING = 8;
// 綠藁운
const ORDER_STATE_REFUNDED = 9;
// 앳없藁운
const ORDER_STATE_UNREFUND = 10;
// 땐데連마렘駕
// 菓斤連마
const ORDER_PAY_WX = 1;
// 岱띨連마
const ORDER_PAY_BALANCE = 2;
protected $table = 'ims_cjdc_order_main';
protected $fillable = [
'order_num',
'delivery_no',
'dada_fee',
'market_id',
'user_id',
'money',
'box_money',
'ps_money',
'mj_money',
'xyh_money',
'yhq_money',
'yhq_money2',
'zk_money',
'tel',
'name',
'address',
'area',
'lat',
'lng',
'note',
'type',
'form_id',
'form_id2',
'delivery_time',
'pay_type',
'order_type',
'code',
'coupon_id',
'coupon_id2',
'uniacid',
'state',
'time',
'time_add',
'global_order_id',
];
}