File tree Expand file tree Collapse file tree
ucloud-sdk-java-usms/src/test/java/cn/ucloud/usms/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,17 +30,14 @@ public void setUp() throws Exception {
3030 new Account (System .getenv ("UCloudPrivateKey" ),
3131 System .getenv ("UCloudPublicKey" ))));
3232 List <String > phoneNumbers = new ArrayList <>();
33- phoneNumbers .add ("1895509xxxx" );
34- //phoneNumbers.add("1851612xxxx");
35- String templateId = "UTA190604D47Fxx" ;
36- String sig = System .getenv ("USMSSIG" );
37-
33+ phoneNumbers .add (System .getenv ("USMSPhone" ));
34+ String templateId = System .getenv ("USMSTemplateId" );
3835 param = new SendUSMSMessageParam (phoneNumbers , templateId );
39- // param.setSigContent(sig );
40- param .setProjectId ("org-o1ftjk" );
41- List <String > templateParams = new ArrayList <>();
42- templateParams .add ("param test" );
43- param .setTemplateParams (templateParams );
36+ param .setSigContent (System . getenv ( "USMSSigId" ) );
37+ param .setProjectId (System . getenv ( "ProjectId" ) );
38+ // List<String> templateParams = new ArrayList<>();
39+ // templateParams.add("param test");
40+ // param.setTemplateParams(templateParams);
4441 }
4542
4643
You can’t perform that action at this time.
0 commit comments