123456789101112131415161718192021222324 |
- function log() {
- mgr.getUser().then((res) => {
- if (res) {
- var usercode = res.profile.account;
- var isSa = res.profile.isSA;
- // 内置账号不写访问日志
- if (isSa !== "1") {
- axios({
- method: "post",
- url: server + "/ufp/api/visitlog/LogInfo",
- data: {
- url: "/eap/dashboard/macstatus",
- userCode: usercode,
- },
- })
- .then((res) => {
- })
- .catch((err) => {
- console.log(err);
- });
- }
- }
- });
- }
|