'int', 'currency_id' =>'int', 'platform_id' =>'int', 'create_time' =>'int', 'update_time' =>'int', ]; /** * 平台-币种关联模型 * @return \think\model\relation\BelongsTo */ public function getCoin() { return $this->belongsTo(Currency::class,'currency_id','id'); } }