Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4806010c
authored
2018-04-09 20:45:05 +0800
by
Roy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交配置
1 parent
45d71978
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
.gitignore
application/config/config.php
application/views/common/header.php
.gitignore
View file @
4806010
.idea
.DS_Store
public/sess_save_path/
application/config/config.php
...
...
application/config/config.php
0 → 100644
View file @
4806010
This diff is collapsed.
Click to expand it.
application/views/common/header.php
View file @
4806010
...
...
@@ -33,6 +33,21 @@
<!-- js cookie -->
<script
src=
"https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"
></script>
<script
type=
"application/javascript"
>
$
.
ajax
({
type
:
'put'
,
url
:
apiBaseUrl
+
'system/user/loginUser'
,
cache
:
false
,
data
:
JSON
.
stringify
(
data
),
dataType
:
'json'
,
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
){
},
error
:
function
(){
layer
.
alert
(
"操作失败"
)
}
})
Cookies
.
set
(
'name'
,
{
foo
:
'bar'
});
var
test
=
Cookies
.
get
(
'name'
);
console
.
log
(
apiBaseUrl
);
</script>
</head>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment