Commit a602eb99665f0d6b88215536992b92c5d7e0f2e2

Authored by 周超
1 parent ef580b03

修改接口地址

app/pages/Chinese/product/product_type copy.html
... ... @@ -327,12 +327,12 @@ let arr = window.location.href.split('?')[1]
327 327 arr = arr.split("&")
328 328 let id = arr[0].split('=')[1]
329 329 let title = arr[1].split('=')[1]
330   -let baseUrl = 'https://antis67.sherkxuan.cn'
  330 +let baseUrl = 'http://www.ccdcdf.com:6080'
331 331 console.log(arr)
332 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 336 console.log('返回的数据', res)
337 337 let str = ''
338 338 res.data.forEach(item => {
... ... @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () {
370 370 // document.head.appendChild(script1);
371 371 // document.head.appendChild(script2);
372 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 374 var pdf = baseUrl + res.data.pdf
375 375 localStorage.setItem('pdf', pdf)
376 376 console.log('返回的数据', res)
... ...
app/pages/Chinese/product/product_type.html
... ... @@ -380,7 +380,7 @@
380 380 let pdf_url = $(this).attr('data-pdf')
381 381 // let url = baseUrl + pdf_url
382 382 console.log(pro_id)
383   - // let baseUrl = 'https://antis67.sherkxuan.cn'
  383 + // let baseUrl = 'http://www.ccdcdf.com:6080'
384 384 $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}&apilang=${apilang}`, function (res) {
385 385 var pdf = baseUrl + res.data.pdf
386 386 localStorage.setItem('pdf', pdf)
... ...
app/pages/English/product/product_type.html
... ... @@ -331,7 +331,7 @@
331 331 arr = arr.split("&")
332 332 let id = arr[0].split('=')[1]
333 333 let title = arr[1].split('=')[1]
334   - let baseUrl = 'https://67oss.sherkxuan.cn'
  334 + let baseUrl = 'http://www.ccdcdf.com:6080'
335 335 console.log(arr)
336 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 327 arr = arr.split("&")
328 328 let id = arr[0].split('=')[1]
329 329 let title = arr[1].split('=')[1]
330   -let baseUrl = 'https://antis67.sherkxuan.cn'
  330 +let baseUrl = 'http://www.ccdcdf.com:6080'
331 331 console.log(arr)
332 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 336 console.log('返回的数据', res)
337 337 let str = ''
338 338 res.data.forEach(item => {
... ... @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () {
370 370 // document.head.appendChild(script1);
371 371 // document.head.appendChild(script2);
372 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 374 var pdf = baseUrl + res.data.pdf
375 375 localStorage.setItem('pdf', pdf)
376 376 console.log('返回的数据', res)
... ...
app/pages/Russian/product/product_type.html
... ... @@ -335,7 +335,7 @@
335 335 arr = arr.split("&")
336 336 let id = arr[0].split('=')[1]
337 337 let title = arr[1].split('=')[1]
338   - let baseUrl = 'https://67oss.sherkxuan.cn'
  338 + let baseUrl = 'http://www.ccdcdf.com:6080'
339 339 console.log(arr)
340 340 console.log(id, title)
341 341  
... ... @@ -381,7 +381,7 @@
381 381 let pdf_url = $(this).attr('data-pdf')
382 382 // let url = baseUrl + pdf_url
383 383 console.log(pro_id)
384   - // let baseUrl = 'https://antis67.sherkxuan.cn'
  384 + // let baseUrl = 'http://www.ccdcdf.com:6080'
385 385 $.get(`http://www.ccdcdf.com:6080/api/index/getProductById?id=${pro_id}&apilang=${apilang}`, function (res) {
386 386 var pdf = baseUrl + res.data.pdf
387 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 327 arr = arr.split("&")
328 328 let id = arr[0].split('=')[1]
329 329 let title = arr[1].split('=')[1]
330   -let baseUrl = 'https://antis67.sherkxuan.cn'
  330 +let baseUrl = 'http://www.ccdcdf.com:6080'
331 331 console.log(arr)
332 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 336 console.log('返回的数据', res)
337 337 let str = ''
338 338 res.data.forEach(item => {
... ... @@ -370,7 +370,7 @@ $(document).on('click', '.show_det', function () {
370 370 // document.head.appendChild(script1);
371 371 // document.head.appendChild(script2);
372 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 374 var pdf = baseUrl + res.data.pdf
375 375 localStorage.setItem('pdf', pdf)
376 376 console.log('返回的数据', res)
... ...
app/pages/Spain/product/product_type.html
... ... @@ -333,7 +333,7 @@
333 333 arr = arr.split("&")
334 334 let id = arr[0].split('=')[1]
335 335 let title = arr[1].split('=')[1]
336   - let baseUrl = 'https://67oss.sherkxuan.cn'
  336 + let baseUrl = 'http://www.ccdcdf.com:6080'
337 337 console.log(arr)
338 338 console.log(id, title)
339 339  
... ...