Commit a602eb99665f0d6b88215536992b92c5d7e0f2e2
1 parent
ef580b03
修改接口地址
Showing
7 changed files
with
14 additions
and
14 deletions
app/pages/Chinese/product/product_type copy.html
| @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1] | @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1] | ||
| 327 | arr = arr.split("&") | 327 | arr = arr.split("&") |
| 328 | let id = arr[0].split('=')[1] | 328 | let id = arr[0].split('=')[1] |
| 329 | let title = arr[1].split('=')[1] | 329 | let title = arr[1].split('=')[1] |
| 330 | -let baseUrl = 'https://antis67.sherkxuan.cn' | 330 | +let baseUrl = 'http://www.ccdcdf.com:6080' |
| 331 | console.log(arr) | 331 | console.log(arr) |
| 332 | console.log(id, title) | 332 | console.log(id, title) |
| 333 | 333 | ||
| 334 | // 获取技术列表 | 334 | // 获取技术列表 |
| 335 | -$.get(`https://antis67.sherkxuan.cn/api/index/getProductByCate?id=${id}`, function (res) { | 335 | +$.get(`http://www.ccdcdf.com:6080/api/index/getProductByCate?id=${id}`, function (res) { |
| 336 | console.log('返回的数据', res) | 336 | console.log('返回的数据', res) |
| 337 | let str = '' | 337 | let str = '' |
| 338 | res.data.forEach(item => { | 338 | res.data.forEach(item => { |
| @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () { | @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () { | ||
| 370 | // document.head.appendChild(script1); | 370 | // document.head.appendChild(script1); |
| 371 | // document.head.appendChild(script2); | 371 | // document.head.appendChild(script2); |
| 372 | // pdfRender(url) | 372 | // pdfRender(url) |
| 373 | - $.get(`https://antis67.sherkxuan.cn/api/index/getProductById?id=${pro_id}`, function (res) { | 373 | + $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}`, function (res) { |
| 374 | var pdf = baseUrl + res.data.pdf | 374 | var pdf = baseUrl + res.data.pdf |
| 375 | localStorage.setItem('pdf', pdf) | 375 | localStorage.setItem('pdf', pdf) |
| 376 | console.log('返回的数据', res) | 376 | console.log('返回的数据', res) |
app/pages/Chinese/product/product_type.html
| @@ -380,7 +380,7 @@ | @@ -380,7 +380,7 @@ | ||
| 380 | let pdf_url = $(this).attr('data-pdf') | 380 | let pdf_url = $(this).attr('data-pdf') |
| 381 | // let url = baseUrl + pdf_url | 381 | // let url = baseUrl + pdf_url |
| 382 | console.log(pro_id) | 382 | console.log(pro_id) |
| 383 | - // let baseUrl = 'https://antis67.sherkxuan.cn' | 383 | + // let baseUrl = 'http://www.ccdcdf.com:6080' |
| 384 | $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}&apilang=${apilang}`, function (res) { | 384 | $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}&apilang=${apilang}`, function (res) { |
| 385 | var pdf = baseUrl + res.data.pdf | 385 | var pdf = baseUrl + res.data.pdf |
| 386 | localStorage.setItem('pdf', pdf) | 386 | localStorage.setItem('pdf', pdf) |
app/pages/English/product/product_type.html
| @@ -331,7 +331,7 @@ | @@ -331,7 +331,7 @@ | ||
| 331 | arr = arr.split("&") | 331 | arr = arr.split("&") |
| 332 | let id = arr[0].split('=')[1] | 332 | let id = arr[0].split('=')[1] |
| 333 | let title = arr[1].split('=')[1] | 333 | let title = arr[1].split('=')[1] |
| 334 | - let baseUrl = 'https://67oss.sherkxuan.cn' | 334 | + let baseUrl = 'http://www.ccdcdf.com:6080' |
| 335 | console.log(arr) | 335 | console.log(arr) |
| 336 | console.log(id, title) | 336 | console.log(id, title) |
| 337 | 337 |
app/pages/Russian/product/product_type copy.html
| @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1] | @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1] | ||
| 327 | arr = arr.split("&") | 327 | arr = arr.split("&") |
| 328 | let id = arr[0].split('=')[1] | 328 | let id = arr[0].split('=')[1] |
| 329 | let title = arr[1].split('=')[1] | 329 | let title = arr[1].split('=')[1] |
| 330 | -let baseUrl = 'https://antis67.sherkxuan.cn' | 330 | +let baseUrl = 'http://www.ccdcdf.com:6080' |
| 331 | console.log(arr) | 331 | console.log(arr) |
| 332 | console.log(id, title) | 332 | console.log(id, title) |
| 333 | 333 | ||
| 334 | // 获取技术列表 | 334 | // 获取技术列表 |
| 335 | -$.get(`https://antis67.sherkxuan.cn/api/index/getProductByCate?id=${id}`, function (res) { | 335 | +$.get(`http://www.ccdcdf.com:6080/api/index/getProductByCate?id=${id}`, function (res) { |
| 336 | console.log('返回的数据', res) | 336 | console.log('返回的数据', res) |
| 337 | let str = '' | 337 | let str = '' |
| 338 | res.data.forEach(item => { | 338 | res.data.forEach(item => { |
| @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () { | @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () { | ||
| 370 | // document.head.appendChild(script1); | 370 | // document.head.appendChild(script1); |
| 371 | // document.head.appendChild(script2); | 371 | // document.head.appendChild(script2); |
| 372 | // pdfRender(url) | 372 | // pdfRender(url) |
| 373 | - $.get(`https://antis67.sherkxuan.cn/api/index/getProductById?id=${pro_id}`, function (res) { | 373 | + $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}`, function (res) { |
| 374 | var pdf = baseUrl + res.data.pdf | 374 | var pdf = baseUrl + res.data.pdf |
| 375 | localStorage.setItem('pdf', pdf) | 375 | localStorage.setItem('pdf', pdf) |
| 376 | console.log('返回的数据', res) | 376 | console.log('返回的数据', res) |
app/pages/Russian/product/product_type.html
| @@ -335,7 +335,7 @@ | @@ -335,7 +335,7 @@ | ||
| 335 | arr = arr.split("&") | 335 | arr = arr.split("&") |
| 336 | let id = arr[0].split('=')[1] | 336 | let id = arr[0].split('=')[1] |
| 337 | let title = arr[1].split('=')[1] | 337 | let title = arr[1].split('=')[1] |
| 338 | - let baseUrl = 'https://67oss.sherkxuan.cn' | 338 | + let baseUrl = 'http://www.ccdcdf.com:6080' |
| 339 | console.log(arr) | 339 | console.log(arr) |
| 340 | console.log(id, title) | 340 | console.log(id, title) |
| 341 | 341 | ||
| @@ -381,7 +381,7 @@ | @@ -381,7 +381,7 @@ | ||
| 381 | let pdf_url = $(this).attr('data-pdf') | 381 | let pdf_url = $(this).attr('data-pdf') |
| 382 | // let url = baseUrl + pdf_url | 382 | // let url = baseUrl + pdf_url |
| 383 | console.log(pro_id) | 383 | console.log(pro_id) |
| 384 | - // let baseUrl = 'https://antis67.sherkxuan.cn' | 384 | + // let baseUrl = 'http://www.ccdcdf.com:6080' |
| 385 | $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}&apilang=${apilang}`, function (res) { | 385 | $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}&apilang=${apilang}`, function (res) { |
| 386 | var pdf = baseUrl + res.data.pdf | 386 | var pdf = baseUrl + res.data.pdf |
| 387 | localStorage.setItem('pdf', pdf) | 387 | localStorage.setItem('pdf', pdf) |
app/pages/Spain/product/product_type copy.html
| @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1] | @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1] | ||
| 327 | arr = arr.split("&") | 327 | arr = arr.split("&") |
| 328 | let id = arr[0].split('=')[1] | 328 | let id = arr[0].split('=')[1] |
| 329 | let title = arr[1].split('=')[1] | 329 | let title = arr[1].split('=')[1] |
| 330 | -let baseUrl = 'https://antis67.sherkxuan.cn' | 330 | +let baseUrl = 'http://www.ccdcdf.com:6080' |
| 331 | console.log(arr) | 331 | console.log(arr) |
| 332 | console.log(id, title) | 332 | console.log(id, title) |
| 333 | 333 | ||
| 334 | // 获取技术列表 | 334 | // 获取技术列表 |
| 335 | -$.get(`https://antis67.sherkxuan.cn/api/index/getProductByCate?id=${id}`, function (res) { | 335 | +$.get(`http://www.ccdcdf.com:6080/api/index/getProductByCate?id=${id}`, function (res) { |
| 336 | console.log('返回的数据', res) | 336 | console.log('返回的数据', res) |
| 337 | let str = '' | 337 | let str = '' |
| 338 | res.data.forEach(item => { | 338 | res.data.forEach(item => { |
| @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () { | @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () { | ||
| 370 | // document.head.appendChild(script1); | 370 | // document.head.appendChild(script1); |
| 371 | // document.head.appendChild(script2); | 371 | // document.head.appendChild(script2); |
| 372 | // pdfRender(url) | 372 | // pdfRender(url) |
| 373 | - $.get(`https://antis67.sherkxuan.cn/api/index/getProductById?id=${pro_id}`, function (res) { | 373 | + $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}`, function (res) { |
| 374 | var pdf = baseUrl + res.data.pdf | 374 | var pdf = baseUrl + res.data.pdf |
| 375 | localStorage.setItem('pdf', pdf) | 375 | localStorage.setItem('pdf', pdf) |
| 376 | console.log('返回的数据', res) | 376 | console.log('返回的数据', res) |
app/pages/Spain/product/product_type.html
| @@ -333,7 +333,7 @@ | @@ -333,7 +333,7 @@ | ||
| 333 | arr = arr.split("&") | 333 | arr = arr.split("&") |
| 334 | let id = arr[0].split('=')[1] | 334 | let id = arr[0].split('=')[1] |
| 335 | let title = arr[1].split('=')[1] | 335 | let title = arr[1].split('=')[1] |
| 336 | - let baseUrl = 'https://67oss.sherkxuan.cn' | 336 | + let baseUrl = 'http://www.ccdcdf.com:6080' |
| 337 | console.log(arr) | 337 | console.log(arr) |
| 338 | console.log(id, title) | 338 | console.log(id, title) |
| 339 | 339 |