|
@@ -53,10 +53,10 @@ function getSecurityCode() {
|
|
|
function getHospitalMark() {
|
|
|
localStorage.removeItem('accessToken')
|
|
|
post(api.getHospitalMark).then((res) => {
|
|
|
- const data = { code: 0, data: 0 }//res.data;
|
|
|
+ const data = res.data;//{ code: 0, data: 0 }
|
|
|
if (data.code == 0) {
|
|
|
type = parseInt(data.data)
|
|
|
- if (parseInt(data.data) == 0) { //湘雅三院登录样式
|
|
|
+ if (parseInt(data.data) == 1) { //湘雅三院登录样式
|
|
|
str = '<div class="bg2">'
|
|
|
str += '<div class="login-info">'
|
|
|
str += '<div class="info-perPub">'
|