|
@@ -9,6 +9,7 @@ router.prefix('/sdk');
|
|
|
* @param {*} ctx
|
|
|
*/
|
|
|
async function getAllTotkenPrice(ctx) {
|
|
|
+ console.log('getTotkenPrice in:')
|
|
|
var ret = await moralis.getAllTotkenPrice()
|
|
|
console.log('getTotkenPrice result:', ret)
|
|
|
if (ret)
|
|
@@ -55,6 +56,7 @@ async function getAllTokenWithdrawInfoLists(ctx) {
|
|
|
ctx.body = await moralis.getAllTokenWithdrawInfoLists(ctx);
|
|
|
}
|
|
|
|
|
|
+//出金
|
|
|
async function withdraw(ctx) {
|
|
|
if (ctx.request == null || ctx.request.body == null) {
|
|
|
ctx.body = utils.toJson(-1, null, "request error. ");
|