1. 创建后台配置文件
(1)app/code/{namespace}/{module_name}/etc/adminhtml/system.html
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="daniel" translate="label" sortOrder="250">
<label>Daneil</label>
</tab>
<section id="daniel_test" translate="label" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
<class>separator-top</class>
<label>Test</label>
<tab>Daneil</tab>
<resource>Daniel_Test::test</resource>
<group id="general"