admin-form.stub 1.1 KB
<?php
/**
+-----------------------------------------------------------------------------------------------------------------------
 * 管理端表单 trait层:渲染生成 :title form 表单
+-----------------------------------------------------------------------------------------------------------------------
 *
 * PHP version 7
 *
 * @category  App\Admin\Forms
 * @package   App\Admin\Forms
 * @author    :author <:email>
 * @date      :version
 * @copyright 2020-2022 :author (http://www.Richer.com/)
 * @license   http://www.Richer.com/ License
 * @link      http://www.Richer.com/
 */
namespace App\Admin\Forms;

use App\Models\:class_name;

/**
 * Class :class_nameController.
 *
 * @category  App\Admin\Forms
 * @package   App\Admin\Forms
 * @author    :author <:email>
 * @date      :version
 * @copyright 2020-2022 :author (http://www.Richer.com/)
 * @license   http://www.Richer.com/ License
 * @link      http://www.Richer.com/
 */
trait :class_nameForm
{
    /**
     * 渲染表单字段
     *
     * @param Int $id 用户id
     *
     * @return void
    */
    public function renderFormFields($id)
    {
        :form_fields
    }
}