'integer', 'update_time' => 'integer', 'points_cost' => 'integer', 'amount' => 'float', 'multiplier' => 'integer', 'retry_count' => 'integer', 'mall_address_id' => 'integer', ]; public function mallItem(): \think\model\relation\BelongsTo { return $this->belongsTo(MallItem::class, 'mall_item_id', 'id'); } public function mallAddress(): \think\model\relation\BelongsTo { return $this->belongsTo(MallAddress::class, 'mall_address_id', 'id'); } /** * 订单 user_id 存 playX 侧用户标识字符串,与 mall_user_asset.playx_user_id 对齐。 */ public function mallUserAsset(): \think\model\relation\BelongsTo { return $this->belongsTo(MallUserAsset::class, 'user_id', 'playx_user_id'); } }