Class ItemSmsHttpApiImpl

  • All Implemented Interfaces:
    ItemSmsHttpApi

    @RestController
    @RequestMapping(value="/services/rest/itemSmsHttp",
                    produces="application/json")
    @Primary
    public class ItemSmsHttpApiImpl
    extends Object
    implements ItemSmsHttpApi
    短信接口
    Author:
    zhangchongjie, mengjuhua
    Date:
    2022/12/28
    • Constructor Detail

      • ItemSmsHttpApiImpl

        public ItemSmsHttpApiImpl()
    • Method Detail

      • sendSmsHttpList

        public net.risesoft.pojo.Y9Result<Boolean> sendSmsHttpList​(@RequestParam
                                                                   String tenantId,
                                                                   @RequestParam
                                                                   String userId,
                                                                   @RequestParam
                                                                   List<String> mobile,
                                                                   @RequestParam
                                                                   String smsContent,
                                                                   String systemName)
                                                            throws Exception
        向多人发送短信(http形式)
        Specified by:
        sendSmsHttpList in interface ItemSmsHttpApi
        Parameters:
        tenantId - 租户id
        userId - 发送人id
        mobile - 接收人手机号
        smsContent - 短信内容
        systemName - 系统名称
        Returns:
        Y9Result<Boolean> 通用请求返回对象
        Throws:
        Exception
        Since:
        9.6.6