商品、订单部分相关代码生成,下一步先把商品搞完再搞订单
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Api\CodeGeneration;
|
||||
|
||||
use App\BaseApp\BaseController;
|
||||
use App\Service\CodeGeneration\UserMembershipService;
|
||||
|
||||
class UserMembershipController extends BaseController
|
||||
{
|
||||
//
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->insertField = ["name","experience"];
|
||||
$this->updateField = ["id","name","experience"];
|
||||
$this->service = UserMembershipService::getInstance();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user