消息&短信 MSGSMS-Java SDK使用指导:运行结果

时间:2025-02-17 17:09:27

运行结果

  • 发送短信(BatchSendSms)
    ```json
    class BatchSendSmsResponse {
      code: 000000
      description: Success
      result: [class SmsID {
        createTime: 2024-11-22T02:16:46Z
        from: 8824110605***
        originTo: +86137****3774
        smsMsgId: eb4e63dd-0945-4231-a48d-6b54c1a8b614_3434030
        status: 000000
        countryId: CN
        total: 1
      }, class SmsID {
        createTime: 2024-11-22T02:16:46Z
        from: 8824110605***
        originTo: +86137****3776
        smsMsgId: eb4e63dd-0945-4231-a48d-6b54c1a8b614_3434031
        status: 000000
        countryId: CN
        total: 1
      }]
    }
    ```
  • 发送分批短信(BatchSendDiffSms)
    ```json
    class BatchSendDiffSmsResponse {
      code: 000000
      description: Success
      result: [class SmsID {
        createTime: 2024-11-22T02:16:46Z
        from: 8824110605***
        originTo: +86137****3774
        smsMsgId: eb4e63dd-0945-4231-a48d-6b54c1a8b614_3435044
        status: 000000
        countryId: CN
        total: 0
      }, class SmsID {
        createTime: 2024-11-22T02:16:46Z
        from: 8824110605***
        originTo: +86137****3775
        smsMsgId: eb4e63dd-0945-4231-a48d-6b54c1a8b614_3435045
        status: 000000
        countryId: CN
        total: 0
      }, class SmsID {
        createTime: 2024-11-22T02:16:46Z
        from: 8824110605***
        originTo: +86137****3777
        smsMsgId: eb4e63dd-0945-4231-a48d-6b54c1a8b614_3435046
        status: 000000
        countryId: CN
        total: 1
      }, class SmsID {
        createTime: 2024-11-22T02:16:46Z
        from: 8824110605***
        originTo: +86137****3778
        smsMsgId: eb4e63dd-0945-4231-a48d-6b54c1a8b614_3435047
        status: 000000
        countryId: CN
        total: 1
      }]
    }
    ```
support.huaweicloud.com/sdkreference-msgsms/sms_sdkreference_0008.html