Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
0907dc9a
Commit
0907dc9a
authored
May 28, 2024
by
梅玉龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中间件替换
parent
3c18f087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
statistics.php
new_admincp/applications/libraries/statistics.php
+2
-2
No files found.
new_admincp/applications/libraries/statistics.php
View file @
0907dc9a
...
@@ -844,7 +844,7 @@ class statistics {
...
@@ -844,7 +844,7 @@ class statistics {
$ip
=
$ip
==
''
?
$this
->
GetIP
()
:
$ip
;
$ip
=
$ip
==
''
?
$this
->
GetIP
()
:
$ip
;
//$url = "http://".$this->appName."/getlogincount?". "type=submit&uid=".$uid."&agentcode=".$agentcode."&ip=".$ip;
//$url = "http://".$this->appName."/getlogincount?". "type=submit&uid=".$uid."&agentcode=".$agentcode."&ip=".$ip;
$url
=
"http://
172.17.1.177:80
89/xxx-sell-submit-api/submit?type=login&city="
.
$this
->
city
.
"&uid="
.
$uid
.
"&agentcode="
.
$agentcode
.
"&ip="
.
$ip
;
$url
=
"http://
zjj129.house365.com:82
89/xxx-sell-submit-api/submit?type=login&city="
.
$this
->
city
.
"&uid="
.
$uid
.
"&agentcode="
.
$agentcode
.
"&ip="
.
$ip
;
//echo $url;die;
//echo $url;die;
//$this->curl_get_contents_nocache("http://" .$this->appName_bak. "/getlogincount?type=submit&uid=" . $uid . "&agentcode=" . $agentcode . "&ip=" . $ip);
//$this->curl_get_contents_nocache("http://" .$this->appName_bak. "/getlogincount?type=submit&uid=" . $uid . "&agentcode=" . $agentcode . "&ip=" . $ip);
...
@@ -875,7 +875,7 @@ class statistics {
...
@@ -875,7 +875,7 @@ class statistics {
//$url_old = "http://".$this->appName."/getoperatecount?type=submit&uid=".$uid."&". "agentcode=".$agentcode."&operatetype=".$operatetype."&fid=".$fid."&". "ip=".urlencode($ip)."&app=".$app."&domain=".$domain."&company=".$company;
//$url_old = "http://".$this->appName."/getoperatecount?type=submit&uid=".$uid."&". "agentcode=".$agentcode."&operatetype=".$operatetype."&fid=".$fid."&". "ip=".urlencode($ip)."&app=".$app."&domain=".$domain."&company=".$company;
$url_old
=
"http://
172.17.1.177:80
89/xxx-sell-submit-api/submit?type=operate&city="
.
$this
->
city
.
"&uid="
.
$uid
.
"&"
.
"agentcode="
.
$agentcode
.
"&operatetype="
.
$operatetype
.
"&fid="
.
$fid
.
"&"
.
"ip="
.
urlencode
(
$ip
)
.
"&app="
.
$app
.
"&domain="
.
$domain
.
"&company="
.
$company
;
$url_old
=
"http://
zjj129.house365.com:82
89/xxx-sell-submit-api/submit?type=operate&city="
.
$this
->
city
.
"&uid="
.
$uid
.
"&"
.
"agentcode="
.
$agentcode
.
"&operatetype="
.
$operatetype
.
"&fid="
.
$fid
.
"&"
.
"ip="
.
urlencode
(
$ip
)
.
"&app="
.
$app
.
"&domain="
.
$domain
.
"&company="
.
$company
;
//$this->curl_get_contents_nocache($url_new);
//$this->curl_get_contents_nocache($url_new);
return
$this
->
curl_get_contents_nocache
(
$url_old
);
return
$this
->
curl_get_contents_nocache
(
$url_old
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment