Authored by 阿达

brand转译字符

@@ -64,11 +64,10 @@ changeBackground(); @@ -64,11 +64,10 @@ changeBackground();
64 * 增加单条记录 64 * 增加单条记录
65 */ 65 */
66 function addHistory(brandName) { 66 function addHistory(brandName) {
67 -  
68 $.ajax({ 67 $.ajax({
69 type: 'POST', 68 type: 'POST',
70 url: '/brands/addBrandSearch', 69 url: '/brands/addBrandSearch',
71 - data: 'brandName=' + brandName, 70 + data: 'brandName=' + encodeURIComponent(brandName),
72 success: function(data) { 71 success: function(data) {
73 }, 72 },
74 error: function() { 73 error: function() {