mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-28 19:45:45 +08:00
refactor billing api
This commit is contained in:
@@ -19,7 +19,7 @@ genAddress = (bitcoin_secret, callback) ->
|
||||
throw err if err
|
||||
callback body.address
|
||||
|
||||
# @param currency: CNY, USD, JPY
|
||||
# @param currency: CNY, USD, JPY etc.
|
||||
# @param callback(rate)
|
||||
getExchangeRate = (currency, callback) ->
|
||||
REDIS_KEY = "#{config.redis.prefix}:[bitcoin.getExchangeRate]:#{currency}"
|
||||
|
||||
Reference in New Issue
Block a user