Browse Source

服务器更换配置更改

xialei 1 year ago
parent
commit
e82deccea0

+ 3 - 3
.vscode/sftp.json

@@ -1,10 +1,10 @@
1 1
 {
2
-    "name": "8.141.0.149",
3
-    "host": "8.141.0.149",
2
+    "name": "123.56.214.150",
3
+    "host": "123.56.214.150",
4 4
     "protocol": "sftp",
5 5
     "port": 22,
6 6
     "username": "root",
7
-    "password": "hhq15801255760",
7
+    "password": "Rhhx888888",
8 8
     "remotePath": "/data/www/api.hebeiyhc.com/web",
9 9
     "uploadOnSave": true,
10 10
     "useTempFile": false,

+ 1 - 1
app/controller/api/Auth.php

@@ -961,7 +961,7 @@ class Auth extends BaseController
961 961
     function curl_java_login($phone){
962 962
         $curl = curl_init();
963 963
         curl_setopt_array($curl, array(
964
-            CURLOPT_URL => 'http://shop.gdjbp.com/gateway/userCenter_service/userLogOnService/userPhoneLogOn',
964
+            CURLOPT_URL => 'http://shop.hxxfb.com/gateway/userCenter_service/userLogOnService/userPhoneLogOn',
965 965
             CURLOPT_RETURNTRANSFER => true,
966 966
             CURLOPT_ENCODING => '',
967 967
             CURLOPT_MAXREDIRS => 10,

+ 1 - 1
app/controller/api/store/product/TaoKe.php

@@ -589,7 +589,7 @@ class TaoKe extends BaseController
589 589
         $params = [
590 590
             'number' => 1,
591 591
 //            'p_id_name_list' => json_encode([env("APP_URL")."-".$uid])
592
-            'p_id_name_list' => json_encode(["https://api.gdjbp.com"."-".$uid])
592
+            'p_id_name_list' => json_encode(["https://api.hxxfb.com"."-".$uid])
593 593
         ];
594 594
         log::info("=============apiName===+======");
595 595
         log::info($apiName);

+ 2 - 2
app/controller/api/store/service/Huafei.php

@@ -244,7 +244,7 @@ class Huafei extends BaseController
244 244
 		$request['mobile'] = $phone;
245 245
 		$request['money'] = $money;
246 246
 		$request['recharge_type'] = 0;
247
-		$request['notify_url'] = 'https://api.gdjbp.com/api/huafei/notify';
247
+		$request['notify_url'] = 'https://api.hxxfb.com/api/huafei/notify';
248 248
 		return $this->execute('/rest/Recharge/PushOrder', $request);
249 249
 	}
250 250
 
@@ -289,7 +289,7 @@ class Huafei extends BaseController
289 289
 		$ch = curl_init();
290 290
 		curl_setopt($ch, CURLOPT_URL, $url);
291 291
 		curl_setopt($ch, CURLOPT_FAILONERROR, false);
292
-		curl_setopt($ch, CURLOPT_REFERER, 'https://api.gdjbp.com');
292
+		curl_setopt($ch, CURLOPT_REFERER, 'https://api.hxxfb.com');
293 293
 		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
294 294
 		curl_setopt($ch, CURLOPT_TIMEOUT,$timeOut);
295 295
 		//https 请求