songxingwei 2 rokov pred
rodič
commit
05e53bef63
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      application/api/controller/Login.php

+ 5 - 0
application/api/controller/Login.php

@@ -206,6 +206,11 @@ class Login extends Base
 
     public function test(){
 
+        $redis = new Redis();
+        $nonce =  $redis->get('nonce');
+        $url2 = "http://192.144.219.204:8083/ddc1155/balanceOf?ddcid=10943&nonce=$nonce&owner=0xe02f6b7691dcb56c7971c3b07e09c29eb3efffad";
+        $res2=curlRequest($url2);
+        echo $res2;die;
 
 
         $url2='http://192.144.219.204:8083/ddc/getNonce';