Commit 8961a821 by 谭新宇

authId改成中横线

parent 657f2455
...@@ -170,7 +170,7 @@ function getOrgNameFn(callback) { ...@@ -170,7 +170,7 @@ function getOrgNameFn(callback) {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
...@@ -210,7 +210,7 @@ function showQrcode(callback) { ...@@ -210,7 +210,7 @@ function showQrcode(callback) {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
if(orgQrCode == '') { if(orgQrCode == '') {
...@@ -371,7 +371,7 @@ function getActivityTitle() { ...@@ -371,7 +371,7 @@ function getActivityTitle() {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
...@@ -436,7 +436,7 @@ function voteClickFn(params, successCallback, errorCallback){ ...@@ -436,7 +436,7 @@ function voteClickFn(params, successCallback, errorCallback){
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
......
...@@ -27,7 +27,7 @@ function pass(){ ...@@ -27,7 +27,7 @@ function pass(){
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
...@@ -69,7 +69,7 @@ function refuse(){ ...@@ -69,7 +69,7 @@ function refuse(){
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
...@@ -111,7 +111,7 @@ function userTabInfo() { ...@@ -111,7 +111,7 @@ function userTabInfo() {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
...@@ -168,7 +168,7 @@ function getActivityTitle() { ...@@ -168,7 +168,7 @@ function getActivityTitle() {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
......
...@@ -218,7 +218,7 @@ function getAjaxListSearch(type,page,callback) { ...@@ -218,7 +218,7 @@ function getAjaxListSearch(type,page,callback) {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
// 加载loading // 加载loading
......
...@@ -148,7 +148,7 @@ function btnBindClick() { ...@@ -148,7 +148,7 @@ function btnBindClick() {
'x-token': _token 'x-token': _token
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
...@@ -598,7 +598,7 @@ function uploadFileFn(file) { ...@@ -598,7 +598,7 @@ function uploadFileFn(file) {
var authUrl = "" var authUrl = ""
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
authUrl = 'http://auth.icaremgt.com/api-admin-manage/system/components/upload?auth_id='+authId; authUrl = 'http://auth.icaremgt.com/api-admin-manage/system/components/upload?auth_id='+authId;
} else { } else {
authUrl = manageUrl + '/api-admin-manage/system/components/upload'; authUrl = manageUrl + '/api-admin-manage/system/components/upload';
......
...@@ -149,7 +149,7 @@ function userTabInfo() { ...@@ -149,7 +149,7 @@ function userTabInfo() {
'x-token': getToken() 'x-token': getToken()
} }
if(authId !== null) { if(authId !== null) {
_header['auth_id'] = authId _header['auth-id'] = authId
} }
$.ajax({ $.ajax({
......
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 to comment