Liking cljdoc? Tell your friends :D

aliyun-dysms-clj: 阿里云sms的Clojure封装

  • 发送短信

Usage

  • project.clj & youns.clj
;; project.clj
[vinurs/aliyun-dysms-clj "0.1.2"]
;; your ns
(ns test (:require [aliyun-dysms-clj.core :refer [send-sms]]))
  • 发送短信
(aliyun-dysms-setconfig! {:access-key-id "xxxxxxx"
                          :access-key-secret "xxxxxxxxxxx"})

(send-sms {:TemplateCode "SMS_xxxxxxxx"
           :TemplateParam "your template param"
           :PhoneNumbers "your phoneNumbers"
           :SignName "your signame"
           :OutId "your outid”})

License

Copyright © 2018 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close