songxingwei 2 年之前
父節點
當前提交
c976962cd6
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      application/api/controller/Login.php

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

@@ -206,11 +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;
+        $redis = new Redis();
+        $nonce =  $redis->get('nonce');
+        $url2 = "http://192.144.219.204:8083/ddc1155/balanceOf?ddcId=10943&nonce=$nonce&owner=0xc472ec30ec813784b19872565e045c7153ea3f17";
+        $res2=curlRequest($url2);
+        echo $res2;die;
 
 
         $url2='http://192.144.219.204:8083/ddc/getNonce';