chao 4 anni fa
parent
commit
e2261dd45f
2 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/main/resources/static/js/index.js
  2. BIN
      target/www-0.0.1-SNAPSHOT.jar

+ 1 - 1
src/main/resources/static/js/index.js

@@ -55,7 +55,7 @@ var homeData = new Vue({
         },
         getRecommends: function(){
             var _self = this;
-            $.getJSON(spiServer+"/home/recommend").done(function (r) {
+            $.getJSON(spiServer+"/home/recommend?identity="+GLOBAL_USER_IDENTITY).done(function (r) {
                 if (r.code === 0 && r.data) {
                     _self.recommends = r.data;
                     _self.recommendPage = Math.ceil(r.data.length / 4);

BIN
target/www-0.0.1-SNAPSHOT.jar