Showing
3 changed files
with
5 additions
and
5 deletions
@@ -12,5 +12,5 @@ module.exports = app => { | @@ -12,5 +12,5 @@ module.exports = app => { | ||
12 | app.use(require('./apps/channel')); | 12 | app.use(require('./apps/channel')); |
13 | 13 | ||
14 | // 业务模块 | 14 | // 业务模块 |
15 | - app.use('/product', require('./apps/product')); | 15 | + app.use('/', require('./apps/product')); |
16 | }; | 16 | }; |
@@ -214,7 +214,7 @@ function search(opt) { | @@ -214,7 +214,7 @@ function search(opt) { | ||
214 | 214 | ||
215 | $.ajax({ | 215 | $.ajax({ |
216 | type: 'GET', | 216 | type: 'GET', |
217 | - url: './sale/search', | 217 | + url: '/sale/search', |
218 | data: setting, | 218 | data: setting, |
219 | success: function(data) { | 219 | success: function(data) { |
220 | var $container, | 220 | var $container, |
@@ -285,7 +285,7 @@ function search(opt) { | @@ -285,7 +285,7 @@ function search(opt) { | ||
285 | 285 | ||
286 | $.ajax({ | 286 | $.ajax({ |
287 | type: 'GET', | 287 | type: 'GET', |
288 | - url: './sale/filter', | 288 | + url: '/sale/filter', |
289 | data: $.extend(defaultOpt, { | 289 | data: $.extend(defaultOpt, { |
290 | saleType: '1' | 290 | saleType: '1' |
291 | }), | 291 | }), |
@@ -214,7 +214,7 @@ function search(opt) { | @@ -214,7 +214,7 @@ function search(opt) { | ||
214 | 214 | ||
215 | $.ajax({ | 215 | $.ajax({ |
216 | type: 'GET', | 216 | type: 'GET', |
217 | - url: './sale/search', | 217 | + url: '/sale/search', |
218 | data: setting, | 218 | data: setting, |
219 | success: function(data) { | 219 | success: function(data) { |
220 | var $container, | 220 | var $container, |
@@ -290,7 +290,7 @@ function search(opt) { | @@ -290,7 +290,7 @@ function search(opt) { | ||
290 | 290 | ||
291 | $.ajax({ | 291 | $.ajax({ |
292 | type: 'GET', | 292 | type: 'GET', |
293 | - url: './sale/filter', | 293 | + url: '/sale/filter', |
294 | data: defaultOpt, | 294 | data: defaultOpt, |
295 | success: function(data) { | 295 | success: function(data) { |
296 | $goodsContainer.append(data); | 296 | $goodsContainer.append(data); |
-
Please register or login to post a comment