Liking cljdoc? Tell your friends :D

waimai.eleme


make-push-signatureclj

(make-push-signature payload
                     &
                     {:keys [secret encoding]
                      :or {secret (System/getProperty "waimai.eleme.secret")
                           encoding "UTF-8"}})

计算push消息的签名

计算push消息的签名
sourceraw docstring

make-signclj

(make-sign payload
           &
           {:keys [secret]
            :or {secret (System/getProperty "waimai.eleme.secret")}})

生成签名

生成签名
sourceraw docstring

requestclj

(request action
         params
         &
         {:keys [token app_key secret url debug?]
          :or {token (System/getProperty "waimai.eleme.token")
               app_key (System/getProperty "waimai.eleme.app_key")
               secret (System/getProperty "waimai.eleme.secret")
               url (System/getProperty "waimai.eleme.api_url"
                                       "https://open-api.shop.ele.me/api/v1/")
               debug? (= (System/getProperty "waimai.debug") "true")}
          :as opts})

饿了么的api接口

饿了么的api接口
sourceraw docstring

tokenclj

(token params
       &
       {:keys [app_key secret url]
        :or {app_key (System/getProperty "waimai.eleme.app_key")
             secret (System/getProperty "waimai.eleme.secret")
             url (or (System/getProperty "waimai.eleme.token_url")
                     "https://open-api.shop.ele.me/token")}
        :as opts})

获取token 刷新token

获取token 刷新token
sourceraw docstring

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

× close