init: 项目初始代码
This commit is contained in:
21
app/api/controller/v1/GoodsConnect.php
Normal file
21
app/api/controller/v1/GoodsConnect.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace app\api\controller\v1;
|
||||
|
||||
use app\api\model\GoodsConnect as GoodsConnectModel;
|
||||
use app\api\validate\GoodsConnect as GoodsConnectValidate;
|
||||
|
||||
/**
|
||||
* 关联商品类
|
||||
* Class GoodsConnect
|
||||
* @package app\api\controller
|
||||
*/
|
||||
class GoodsConnect extends Base
|
||||
{
|
||||
public function initialize()
|
||||
{
|
||||
parent::initialize();
|
||||
$this->model = new GoodsConnectModel();
|
||||
$this->validate = new GoodsConnectValidate();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user