50是分账 * * MONEY_TYPE_PLAT_NEW_USER * 社区服务点新用户奖励(线上订单完成) / 1 * * MONEY_TYPE_FIRST_ORDER * 社区服务点新用户线上首单奖励(线上订单完成) / 2 * * MONEY_TYPE_OL_ORDER * 社区服务点用户线上订单分账(线上订单完成) / 51 */ const MONEY_TYPE_PLAT_NEW_USER = 1; const MONEY_TYPE_FIRST_ORDER = 2; const MONEY_TYPE_OL_ORDER = 51; /** * 状态 */ const STATUS_NORMAL = 1; const STATUS_ABNORMAL = 2; /** * The table associated with the model. * * @var string */ protected $table = 'lanzu_financial_record'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'user_id', 'user_type', 'money', 'money_type', 'source_id', 'source_type', 'desc', 'comment', 'status', ]; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = []; }