|
@@ -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';
|