Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
citic-honor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f4e1276b
authored
Oct 23, 2020
by
kubisk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
222718a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
31 deletions
+25
-31
Application/Common/Conf/db.php
+1
-1
Public/static/js/common.js
+24
-30
No files found.
Application/Common/Conf/db.php
View file @
f4e1276b
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
// );
// );
return
array
(
return
array
(
'DB_TYPE'
=>
'm
ysql
'
,
'DB_TYPE'
=>
'm
ariadb
'
,
'DB_HOST'
=>
'mariadb'
,
'DB_HOST'
=>
'mariadb'
,
'DB_PORT'
=>
'3306'
,
'DB_PORT'
=>
'3306'
,
'DB_NAME'
=>
'dev_citic_20200420_mdrt'
,
// <--- 修改这里
'DB_NAME'
=>
'dev_citic_20200420_mdrt'
,
// <--- 修改这里
...
...
Public/static/js/common.js
View file @
f4e1276b
...
@@ -142,36 +142,30 @@ function checkInfo() {
...
@@ -142,36 +142,30 @@ function checkInfo() {
my_notify
(
'请填写工号'
);
my_notify
(
'请填写工号'
);
return
false
;
return
false
;
}
}
level
=
'1'
;
$
.
ajax
({
username
=
'张三'
;
url
:
'/index/getInfo'
,
company
=
'北京'
;
type
:
'POST'
,
toUploadPage
();
data
:
{
$
(
'.username'
).
text
(
username
);
name
:
name
,
$
(
'.company'
).
html
(
'中信保诚人寿<br/>'
+
company
+
'分公司'
);
code
:
code
// $.ajax({
},
// url: '/index/getInfo',
success
:
function
(
resp
)
{
// type: 'POST',
if
(
resp
.
status
==
1
)
{
// data: {
level
=
resp
.
poster
;
// name: name,
username
=
name
;
// code: code
company
=
resp
.
branch
;
// },
toUploadPage
();
// success: function (resp) {
$
(
'.username'
).
text
(
username
);
// if (resp.status == 1) {
$
(
'.company'
).
html
(
'中信保诚人寿<br/>'
+
company
+
'分公司'
);
// level = resp.poster;
setShare
();
// username = name;
// company = resp.branch;
}
else
{
// toUploadPage();
$
(
'#notification_area'
).
remove
();
// $('.username').text(username);
my_notify
(
resp
.
msg
);
// $('.company').html('中信保诚人寿<br/>' + company + '分公司');
return
false
;
// setShare();
}
}
// } else {
})
// $('#notification_area').remove();
// my_notify(resp.msg);
// return false;
// }
// }
// })
}
}
function
setShare
()
{
function
setShare
()
{
...
...
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