Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
12db3729
authored
Jan 05, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
对接加密日志后台
parent
a4abcadc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
public/plugins/assets/js/common.js
resources/views/script/SupplierAccountListScript.blade.php
resources/views/script/supplier/SupplierContactScript.blade.php
public/plugins/assets/js/common.js
View file @
12db3729
...
...
@@ -85,3 +85,17 @@ function inArray(needle, haystack) {
}
return
false
;
}
function
getCookie
(
name
)
{
var
arr
=
document
.
cookie
.
match
(
new
RegExp
(
"(^| )"
+
name
+
"=([^;]*)(;|$)"
));
if
(
arr
!=
null
)
return
unescape
(
arr
[
2
]);
return
null
;
}
function
getLogDomain
()
{
var
default_domain
=
"http://monitor.liexindev.net"
;
if
(
document
.
domain
.
indexOf
(
"ichunt"
)
!==
-
1
)
{
default_domain
=
"https://monitor.ichunt.net"
;
}
return
default_domain
;
}
resources/views/script/SupplierAccountListScript.blade.php
View file @
12db3729
...
...
@@ -177,6 +177,13 @@
break
;
}
console
.
log
(
resp
);
$
.
get
(
getLogDomain
()
+
"/api/addSensitiveClick"
,
{
uid
:
getCookie
(
"oa_user_id"
)
||
0
,
sys_id
:
4
,
mask_type
:
type
||
0
,
origin_id
:
id
||
0
,
source_from
:
window
.
location
.
href
});
$
(
this
).
text
(
'隐藏'
);
}
else
{
layer
.
msg
(
resp
.
err_msg
,
{
'icon'
:
5
});
...
...
resources/views/script/supplier/SupplierContactScript.blade.php
View file @
12db3729
...
...
@@ -179,6 +179,13 @@
break
;
}
$
(
this
).
text
(
'隐藏'
);
$
.
get
(
getLogDomain
()
+
"/api/addSensitiveClick"
,
{
uid
:
getCookie
(
"oa_user_id"
)
||
0
,
sys_id
:
4
,
mask_type
:
type
||
0
,
origin_id
:
contactId
||
0
,
source_from
:
window
.
location
.
href
});
console
.
log
(
resp
);
}
else
{
layer
.
msg
(
resp
.
err_msg
,
{
'icon'
:
5
});
...
...
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