|
|
@@ -5,7 +5,7 @@ define([ 'ngResource' ], function() {
|
|
|
* 分页获取消息
|
|
|
*/
|
|
|
getNewsList: {
|
|
|
- url: 'webMessage/page',
|
|
|
+ url: rootPath + '/webMessage/page',
|
|
|
method:'GET'
|
|
|
},
|
|
|
|
|
|
@@ -13,7 +13,7 @@ define([ 'ngResource' ], function() {
|
|
|
* 获取未读消息数量
|
|
|
*/
|
|
|
unreadCount: {
|
|
|
- url: 'webMessage/count/unread',
|
|
|
+ url: rootPath + '/webMessage/count/unread',
|
|
|
method:'GET'
|
|
|
},
|
|
|
|
|
|
@@ -21,7 +21,7 @@ define([ 'ngResource' ], function() {
|
|
|
* 跳转消息详情页
|
|
|
*/
|
|
|
read: {
|
|
|
- url: 'webMessage/read',
|
|
|
+ url: rootPath + '/webMessage/read',
|
|
|
method:'POST'
|
|
|
}
|
|
|
});
|