From af6d43a41205f8c7fc1a965cb019c039063bf4f0 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 13 十二月 2023 01:15:07 +0800
Subject: [PATCH] 更新接口
---
UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java b/UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java
index 6a36d48..6006a1f 100644
--- a/UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java
+++ b/UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java
@@ -1,6 +1,9 @@
//package com.stylefeng.guns;
//
+//import com.alibaba.fastjson.JSON;
+//import com.stylefeng.guns.modular.system.util.SMSUtil;
//import com.stylefeng.guns.modular.system.util.Tingg.TinggPayoutUtil;
+//import com.stylefeng.guns.modular.system.util.Tingg.model.PayoutResponse;
//import com.twilio.Twilio;
//import com.twilio.http.TwilioRestClient;
//import com.twilio.rest.api.v2010.Account;
@@ -23,21 +26,13 @@
// @Autowired
// private TinggPayoutUtil tinggPayoutUtil;
//
+// @Autowired
+// private SMSUtil smsUtil;
+//
//
// @Test
// public void test(){
-// String ACCOUNT_SID = "AC1fd05e898bd59d17ba72db621afca537";
-// String AUTH_TOKEN = "7cee1a6cb0e2936a9037be577b1ffe57";
-// try {
-// Twilio.init(ACCOUNT_SID, AUTH_TOKEN);
-// Message message = Message.creator(
-// new PhoneNumber("+233500666666"),
-// new PhoneNumber("+16672740015"),
-// "This is the ship that made the Kessel Run in fourteen parsecs?"
-// ).create();
-// System.out.println(message.getSid());
-// }catch (Exception e){
-// e.printStackTrace();
-// }
+// PayoutResponse payoutResponse = tinggPayoutUtil.sendPayout("GH-VODAFONE-B2C", "+233500666666", "123465", 1.00d, "", "测试转账");
+// System.err.println(JSON.toJSONString(payoutResponse));
// }
//}
--
Gitblit v1.7.1