初始化代码
This commit is contained in:
18
app/agent/model/Cardauth2ConfigModel.php
Normal file
18
app/agent/model/Cardauth2ConfigModel.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\agent\model;
|
||||
|
||||
|
||||
use app\BaseModel;
|
||||
use app\dynamic\model\CardConfig;
|
||||
|
||||
class Cardauth2ConfigModel extends BaseModel
|
||||
{
|
||||
protected $name = 'longbing_cardauth2_config';
|
||||
|
||||
public function cardConfig()
|
||||
{
|
||||
return $this->hasOne(CardConfig::class, 'uniacid', 'modular_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user