mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-11 10:37:20 +00:00
init v1.0.0
This commit is contained in:
@@ -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";
|
||||
|
||||
}
|
||||
|
||||
@@ -19,5 +19,4 @@ public interface PayService {
|
||||
* @return String
|
||||
**/
|
||||
String getPayUrl(String orderNo, String name, double money, String clientIp);
|
||||
|
||||
}
|
||||
|
||||
@@ -40,5 +40,4 @@ public class PayServiceImpl implements PayService {
|
||||
JSONObject jsonObject = new JSONObject(body);
|
||||
return (String) jsonObject.get("qrcode");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user