Commit f4e1276b by kubisk

dos

parent 222718a3
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
// ); // );
return array( return array(
'DB_TYPE' => 'mysql', 'DB_TYPE' => 'mariadb',
'DB_HOST' => 'mariadb', 'DB_HOST' => 'mariadb',
'DB_PORT' => '3306', 'DB_PORT' => '3306',
'DB_NAME' => 'dev_citic_20200420_mdrt', // <--- 修改这里 'DB_NAME' => 'dev_citic_20200420_mdrt', // <--- 修改这里
......
...@@ -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',
data: {
name: name,
code: code
},
success: function (resp) {
if (resp.status == 1) {
level = resp.poster;
username = name;
company = resp.branch;
toUploadPage(); toUploadPage();
$('.username').text(username); $('.username').text(username);
$('.company').html('中信保诚人寿<br/>' + company + '分公司'); $('.company').html('中信保诚人寿<br/>' + company + '分公司');
// $.ajax({ setShare();
// url: '/index/getInfo',
// type: 'POST', } else {
// data: { $('#notification_area').remove();
// name: name, my_notify(resp.msg);
// code: code return false;
// }, }
// success: function (resp) { }
// if (resp.status == 1) { })
// level = resp.poster;
// username = name;
// company = resp.branch;
// toUploadPage();
// $('.username').text(username);
// $('.company').html('中信保诚人寿<br/>' + company + '分公司');
// setShare();
// } else {
// $('#notification_area').remove();
// my_notify(resp.msg);
// return false;
// }
// }
// })
} }
function setShare() { function setShare() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment