This commit is contained in:
六如
2024-10-31 09:36:48 +08:00
parent 08f708d8a4
commit 0e29510d0e
58 changed files with 3569 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
package com.gitee.sop.payment.open.impl;
package com.gitee.sop.payment.impl;
import com.gitee.sop.payment.open.OpenPayment;
import com.gitee.sop.payment.open.req.AlipayTradeWapPayRequest;

View File

@@ -3,6 +3,7 @@ package com.gitee.sop.payment.open;
import com.gitee.sop.payment.open.req.AlipayTradeWapPayRequest;
import com.gitee.sop.payment.open.resp.AlipayTradeWapPayResponse;
import com.gitee.sop.support.annotation.Open;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
/**
@@ -10,6 +11,7 @@ import io.swagger.annotations.ApiOperation;
*
* @author 六如
*/
@Api("支付接口")
public interface OpenPayment {
@ApiOperation(

View File

@@ -0,0 +1,27 @@
{
// 开启推送
"enable": true,
// 扫描package多个用;隔开
"basePackage": "com.gitee.sop.payment.open",
// 推送URLIP端口对应Torna服务器
"url": "http://localhost:7700/api",
// 模块token
"token": "34ff76952462413982d21219cf099d46",
// 推送人
"author": "Jim",
// 打开调试:true/false
"debug": true,
// 是否替换文档true替换false不替换追加。默认true
"isReplace": true,
// 第三方jar中的class配置
"jarClass": {
"com.baomidou.mybatisplus.extension.plugins.pagination.Page": {
"records": { "value": "查询数据列表", "example": "" },
"total": { "value": "总数", "example": "100" },
"size": { "value": "页数", "example": "10" },
"current": { "value": "当前页", "example": "1" },
"countId": { "hidden": true },
"orders": { "hidden": true }
}
}
}

View File

@@ -1 +0,0 @@
abc,你好~!@#

View File

@@ -0,0 +1,13 @@
package com.gitee.sop.payment;
import cn.torna.swaggerplugin.SwaggerPlugin;
/**
* 推送swagger文档
* @author thc
*/
public class DocPushTest {
public static void main(String[] args) {
SwaggerPlugin.pushDoc();
}
}