1.idea中安装YapiUpload插件

    2.修改项目推送地址

    misc.xml

    1. <!--yapi配置-->
    2. <component name="yapi">
    3. <option name="projectToken">5e34b122b86dd3b7dab2d58dc957e8ea09803f5ad1a18810fd124f1d7434b8cd</option>
    4. <option name="projectId">857</option>
    5. <option name="yapiUrl">http://172.16.101.80:3001/</option>
    6. <option name="projectType">api</option>
    7. </component>

    3.在类中右击,选择UploadToYapi接口