Browse Source

修复新增订单和加入购物车的请求415的问题

suntg 7 years ago
parent
commit
f8e7fbbe89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/index/services/BaseInfo.js

+ 1 - 1
src/main/webapp/resources/js/index/services/BaseInfo.js

@@ -390,7 +390,7 @@ define(['ngResource'], function() {
 				method: 'POST',
 				isArray: false,
 				headers: {
-					'Content-Type' : 'application/text;charset=UTF-8'
+					'Content-Type' : 'application/json;charset=UTF-8'
 				}
 			},
 		})