Commit f4e1276b by kubisk

dos

parent 222718a3
......@@ -11,7 +11,7 @@
// );
return array(
'DB_TYPE' => 'mysql',
'DB_TYPE' => 'mariadb',
'DB_HOST' => 'mariadb',
'DB_PORT' => '3306',
'DB_NAME' => 'dev_citic_20200420_mdrt', // <--- 修改这里
......
......@@ -142,36 +142,30 @@ function checkInfo() {
my_notify('请填写工号');
return false;
}
level = '1';
username = '张三';
company = '北京';
$.ajax({
url: '/index/getInfo',
type: 'POST',
data: {
name: name,
code: code
},
success: function (resp) {
if (resp.status == 1) {
level = resp.poster;
username = name;
company = resp.branch;
toUploadPage();
$('.username').text(username);
$('.company').html('中信保诚人寿<br/>' + company + '分公司');
// $.ajax({
// url: '/index/getInfo',
// type: 'POST',
// data: {
// name: name,
// code: code
// },
// 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;
// }
// }
// })
setShare();
} else {
$('#notification_area').remove();
my_notify(resp.msg);
return false;
}
}
})
}
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