|
@@ -57,6 +57,9 @@
|
|
type: 'get',
|
|
type: 'get',
|
|
contentType: "application/json",
|
|
contentType: "application/json",
|
|
dataType:"json",
|
|
dataType:"json",
|
|
|
|
+ headers: {
|
|
|
|
+ Authorization: '123'
|
|
|
|
+ },
|
|
cache: false,
|
|
cache: false,
|
|
success: function (res) {
|
|
success: function (res) {
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
@@ -85,6 +88,9 @@
|
|
type: 'post',
|
|
type: 'post',
|
|
contentType: "application/json",
|
|
contentType: "application/json",
|
|
dataType:"json",
|
|
dataType:"json",
|
|
|
|
+ headers: {
|
|
|
|
+ Authorization: '123'
|
|
|
|
+ },
|
|
cache: false,
|
|
cache: false,
|
|
success: function (res) {
|
|
success: function (res) {
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|