Pu Zhibing
15 小时以前 7bf07f46d7c39fa01b6d8abd860bd80c210d86cb
UserIGOTravel/guns-admin/src/test/java/com/stylefeng/guns/TestGunsApplication.java
@@ -1,6 +1,10 @@
//package com.stylefeng.guns;
//
//import com.alibaba.fastjson.JSON;
//import com.stylefeng.guns.modular.specialTrain.server.IOrderPrivateCarService;
//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;
@@ -21,23 +25,15 @@
//public class TestGunsApplication {
//
//    @Autowired
//    private TinggPayoutUtil tinggPayoutUtil;
//    private IOrderPrivateCarService orderPrivateCarService;
//
//
//    @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();
//            orderPrivateCarService.payPrivateCarOrder(1, null, 13083, null, null, 1, 1);
//        } catch (Exception e) {
//            throw new RuntimeException(e);
//        }
//    }
//}