Jelajahi Sumber

商品可见度4

chao 4 tahun lalu
induk
melakukan
901e7c2fba
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/main/resources/static/js/product/detail.js
  2. TEMPAT SAMPAH
      target/www-0.0.1-SNAPSHOT.jar

+ 2 - 1
src/main/resources/static/js/product/detail.js

@@ -207,7 +207,8 @@ var productDetail = new Vue({
             if(!this.productId){return;}
             $.getJSON(spiServer + "/product/detail/recommend",{
                 productId: this.productId,
-                recommendType: this.recommendType
+                recommendType: this.recommendType,
+                identity: GLOBAL_USER_IDENTITY
             }).done(function (r) {
                 if (r.code === 0 && r.data) {
                     if(r.data.length > 0){

TEMPAT SAMPAH
target/www-0.0.1-SNAPSHOT.jar