From 387f61d55a8e20bc772b026cba4f8c34dfce5665 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 07 二月 2024 11:20:28 +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