Ver Fonte

change in basic service, now showing alert of possible failures

jason.lu há 6 anos atrás
pai
commit
cb2cb98cce
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      sourcecode/h5app/vue/src/views/SecurityVerify.vue

+ 1 - 1
sourcecode/h5app/vue/src/views/SecurityVerify.vue

@@ -240,7 +240,7 @@
         created: function () {
             let userid = localStorage.getItem('frontend-userid');
             let that = this;
-            BasicFunction.get_data('smartUsers/me?uid=' + userid, function (res) {
+            BasicFunction.get_data('smartUsers/list?uid=' + userid, function (res) {
                 // console.log('----- User Info ----- ' + userid);
                 // console.log(res);
                 if (res !== undefined && res.ret === "10000"