|  | @@ -809,7 +809,7 @@ class Api2021Service
 | 
	
		
			
			| 809 | 809 |                          'Accept'       => '*/*',
 | 
	
		
			
			| 810 | 810 |                      ]
 | 
	
		
			
			| 811 | 811 |                  ];
 | 
	
		
			
			| 812 |  | -                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 812 | +                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 813 | 813 |                  $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/issue', $req);
 | 
	
		
			
			| 814 | 814 |                  $resA = json_decode($response->getBody());
 | 
	
		
			
			| 815 | 815 |                  $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 | 
	
	
		
			
			|  | @@ -880,7 +880,7 @@ class Api2021Service
 | 
	
		
			
			| 880 | 880 |                          'Accept'       => '*/*',
 | 
	
		
			
			| 881 | 881 |                      ]
 | 
	
		
			
			| 882 | 882 |                  ];
 | 
	
		
			
			| 883 |  | -                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 883 | +                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 884 | 884 |                  $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/query', $req);
 | 
	
		
			
			| 885 | 885 |                  $resB = json_decode($response->getBody());
 | 
	
		
			
			| 886 | 886 |                  $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 | 
	
	
		
			
			|  | @@ -1185,7 +1185,7 @@ class Api2021Service
 | 
	
		
			
			| 1185 | 1185 |                      'Accept'       => '*/*',
 | 
	
		
			
			| 1186 | 1186 |                  ]
 | 
	
		
			
			| 1187 | 1187 |              ];
 | 
	
		
			
			| 1188 |  | -            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 1188 | +            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 1189 | 1189 |              $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Tagging', $req);
 | 
	
		
			
			| 1190 | 1190 |              $res = $response->getBody();
 | 
	
		
			
			| 1191 | 1191 |          } catch (Exception $ex) {
 | 
	
	
		
			
			|  | @@ -1280,7 +1280,7 @@ class Api2021Service
 | 
	
		
			
			| 1280 | 1280 |                  'Accept'       => '*/*',
 | 
	
		
			
			| 1281 | 1281 |              ]
 | 
	
		
			
			| 1282 | 1282 |          ];
 | 
	
		
			
			| 1283 |  | -        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 1283 | +        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 1284 | 1284 |          $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Update', $req);
 | 
	
		
			
			| 1285 | 1285 |          $res = $response->getBody();
 | 
	
		
			
			| 1286 | 1286 |          // 直通紀錄
 | 
	
	
		
			
			|  | @@ -1374,7 +1374,7 @@ class Api2021Service
 | 
	
		
			
			| 1374 | 1374 |                  'Accept'       => '*/*',
 | 
	
		
			
			| 1375 | 1375 |              ]
 | 
	
		
			
			| 1376 | 1376 |          ];
 | 
	
		
			
			| 1377 |  | -        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 1377 | +        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 1378 | 1378 |          $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Tagging', $req);
 | 
	
		
			
			| 1379 | 1379 |          $res = $response->getBody();
 | 
	
		
			
			| 1380 | 1380 |          // 直通紀錄
 | 
	
	
		
			
			|  | @@ -1458,7 +1458,7 @@ class Api2021Service
 | 
	
		
			
			| 1458 | 1458 |                  'Accept'       => '*/*',
 | 
	
		
			
			| 1459 | 1459 |              ]
 | 
	
		
			
			| 1460 | 1460 |          ];
 | 
	
		
			
			| 1461 |  | -        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 1461 | +        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 1462 | 1462 |          $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Insert', $req);
 | 
	
		
			
			| 1463 | 1463 |          $res = $response->getBody();
 | 
	
		
			
			| 1464 | 1464 |          // 直通紀錄
 | 
	
	
		
			
			|  | @@ -1548,7 +1548,7 @@ class Api2021Service
 | 
	
		
			
			| 1548 | 1548 |                  'Accept'       => '*/*',
 | 
	
		
			
			| 1549 | 1549 |              ]
 | 
	
		
			
			| 1550 | 1550 |          ];
 | 
	
		
			
			| 1551 |  | -        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 1551 | +        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 1552 | 1552 |          $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/issue', $req);
 | 
	
		
			
			| 1553 | 1553 |          $resA = json_decode($response->getBody());
 | 
	
		
			
			| 1554 | 1554 |          $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 | 
	
	
		
			
			|  | @@ -1621,7 +1621,7 @@ class Api2021Service
 | 
	
		
			
			| 1621 | 1621 |                  'Accept'       => '*/*',
 | 
	
		
			
			| 1622 | 1622 |              ]
 | 
	
		
			
			| 1623 | 1623 |          ];
 | 
	
		
			
			| 1624 |  | -        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 1624 | +        if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 1625 | 1625 |          $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/contact/QueryQualification', $req);
 | 
	
		
			
			| 1626 | 1626 |          $res = $response->getBody();
 | 
	
		
			
			| 1627 | 1627 |          // 直通紀錄
 | 
	
	
		
			
			|  | @@ -2130,7 +2130,7 @@ class Api2021Service
 | 
	
		
			
			| 2130 | 2130 |                          'Accept'       => '*/*',
 | 
	
		
			
			| 2131 | 2131 |                      ]
 | 
	
		
			
			| 2132 | 2132 |                  ];
 | 
	
		
			
			| 2133 |  | -                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 2133 | +                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 2134 | 2134 |                  $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/issue', $req);
 | 
	
		
			
			| 2135 | 2135 |                  $resA = json_decode($response->getBody());
 | 
	
		
			
			| 2136 | 2136 |                  $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 | 
	
	
		
			
			|  | @@ -2202,7 +2202,7 @@ class Api2021Service
 | 
	
		
			
			| 2202 | 2202 |                          'Accept'       => '*/*',
 | 
	
		
			
			| 2203 | 2203 |                      ]
 | 
	
		
			
			| 2204 | 2204 |                  ];
 | 
	
		
			
			| 2205 |  | -                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 2205 | +                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 2206 | 2206 |                  $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/query', $req);
 | 
	
		
			
			| 2207 | 2207 |                  $resB = json_decode($response->getBody());
 | 
	
		
			
			| 2208 | 2208 |                  $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 | 
	
	
		
			
			|  | @@ -2395,7 +2395,7 @@ class Api2021Service
 | 
	
		
			
			| 2395 | 2395 |                      'Accept'       => '*/*',
 | 
	
		
			
			| 2396 | 2396 |                  ]
 | 
	
		
			
			| 2397 | 2397 |              ];
 | 
	
		
			
			| 2398 |  | -            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 2398 | +            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 2399 | 2399 |              $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Tagging', $req);
 | 
	
		
			
			| 2400 | 2400 |              $res = $response->getBody();
 | 
	
		
			
			| 2401 | 2401 |              // 經由計算取得的完整 request JSON
 | 
	
	
		
			
			|  | @@ -2910,7 +2910,7 @@ class Api2021Service
 | 
	
		
			
			| 2910 | 2910 |                          'Accept'       => '*/*',
 | 
	
		
			
			| 2911 | 2911 |                      ]
 | 
	
		
			
			| 2912 | 2912 |                  ];
 | 
	
		
			
			| 2913 |  | -                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 2913 | +                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 2914 | 2914 |                  $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/issue', $req);
 | 
	
		
			
			| 2915 | 2915 |                  $resA = json_decode($response->getBody());
 | 
	
		
			
			| 2916 | 2916 |                  $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 | 
	
	
		
			
			|  | @@ -2982,7 +2982,7 @@ class Api2021Service
 | 
	
		
			
			| 2982 | 2982 |                          'Accept'       => '*/*',
 | 
	
		
			
			| 2983 | 2983 |                      ]
 | 
	
		
			
			| 2984 | 2984 |                  ];
 | 
	
		
			
			| 2985 |  | -                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.1.169', '172.31.9.46'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			|  | 2985 | +                if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197', '172.31.34.163'])) $req['proxy'] = env('CCH_PROXY');
 | 
	
		
			
			| 2986 | 2986 |                  $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/linepoint/query', $req);
 | 
	
		
			
			| 2987 | 2987 |                  $resB = json_decode($response->getBody());
 | 
	
		
			
			| 2988 | 2988 |                  $data['memoIn'] = json_encode(array_merge($param, $logdata), JSON_UNESCAPED_UNICODE);
 |