public object NoticeMsg([FromBody] FormParam.ReuqestForm request)
 {
     try
     {
         return(msg.SendTemplateMsg(request.openId, NoticeTemId, request.getData()));
     }
     catch (Exception ex)
     {
         throw new ApiResultException(ex.Message, ex);
     }
 }
 public object SendMsg([FromBody] FormParam.ReuqestForm from)
 {
     try
     {
         return(msg.SendTemplateMsg(from.openId, from.templateId,
                                    from.getData(), from.appId, from.appurl, from.pagepath, from.color));
     }
     catch (Exception ex)
     {
         throw new ApiResultException(ex.Message, ex);
     }
 }