|
@@ -1088,8 +1088,7 @@ function kfData(acync, num) {
|
|
|
type: 'POST',
|
|
|
url: '/jyapi/message/messageCount',
|
|
|
async: acync || false,
|
|
|
- data: JSON.stringify({userType: 2}),
|
|
|
- contentType: 'application/json',
|
|
|
+ data: {userType: 2},
|
|
|
success: function (res) {
|
|
|
localStorage.setItem('isMsgNum', num + res.count)
|
|
|
}
|