Browse Source

商品可见度4

chao 4 years ago
parent
commit
901e7c2fba
2 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/resources/static/js/product/detail.js
  2. BIN
      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){

BIN
target/www-0.0.1-SNAPSHOT.jar