init v1.0.0

This commit is contained in:
ageer
2024-02-27 20:52:19 +08:00
parent 1f7f97e86a
commit a079ef44e5
602 changed files with 163057 additions and 95 deletions

View File

@@ -10,28 +10,33 @@ public class PayConfig {
/**
* 商户ID
*/
public static String pid = "xx";
public static String pid = "xxx";
/**
* 接口地址
*/
public static String payUrl = "https://pay-cloud.vip/mapi.php";
/**
* 私钥
*/
public static String key = "xxx";
/**
* 服务器异步通知地址
*/
public static String notify_url = "https://www.pandarobot.chat/pay/returnUrl";
/**
* 页面跳转通知地址
*/
public static String return_url = "https://www.pandarobot.chat/pay/notifyUrl";
/**
* 支付方式
*/
public static String type = "wxpay";
/**
* 接口地址
*/
public static String payUrl = "https://pay.bluetuo.com/mapi.php";
/**
* 服务器异步通知地址
*/
public static String notify_url = "http://xx/pay/returnUrl";
/**
* 页面跳转通知地址
*/
public static String return_url = "http://xx/pay/notifyUrl";
/**
* 设备类型
*/
@@ -40,12 +45,6 @@ public class PayConfig {
/**
* 加密方式默认MD5
*/
public static String sign_type = "MD5";
/**
* 私钥
*/
public static String key = "xx";
}

View File

@@ -19,5 +19,4 @@ public interface PayService {
* @return String
**/
String getPayUrl(String orderNo, String name, double money, String clientIp);
}

View File

@@ -40,5 +40,4 @@ public class PayServiceImpl implements PayService {
JSONObject jsonObject = new JSONObject(body);
return (String) jsonObject.get("qrcode");
}
}