chao преди 4 години
родител
ревизия
901e7c2fba
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  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