From 00caef45a8833dc58919e23eb88a3484cfacdaa4 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 22 八月 2023 17:53:25 +0800 Subject: [PATCH] 更新 --- UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 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 f66d90d..6a36d48 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,11 @@ //package com.stylefeng.guns; // //import com.stylefeng.guns.modular.system.util.Tingg.TinggPayoutUtil; +//import com.twilio.Twilio; +//import com.twilio.http.TwilioRestClient; +//import com.twilio.rest.api.v2010.Account; +//import com.twilio.rest.api.v2010.account.Message; +//import com.twilio.type.PhoneNumber; //import org.junit.Test; //import org.junit.runner.RunWith; //import org.springframework.beans.factory.annotation.Autowired; @@ -21,6 +26,18 @@ // // @Test // public void test(){ -// tinggPayoutUtil.sendPayout("GH-MTN-B2C", "+233277211131", "00007", 1D, "https://10pz685243.zicp.fun/base/IGO/tinggPayoutCallback", "Transfer remittance"); +// 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(); +// } // } //} -- Gitblit v1.7.1