Explorar o código

微服务联调,修改注册登录, 机构资料修改

zhengjinyi %!s(int64=4) %!d(string=hai) anos
pai
achega
6f7ccc3b5f

+ 1 - 1
src/main/resources/static/js/common/serviceapi/user.service.js

@@ -29,7 +29,7 @@ var UserApi = {
                 });
         },
         SupplierRgister:function(params, callback){//供应商注册
-            Http.AjaxService({url: '/user/register/shop/applets', type: 'post', data: params, json: false, isHost:true})
+            Http.AjaxService({url: '/user/register/shop', type: 'post', data: params, json: false, isHost:true})
                 .then(function (res) {
                     callback(res)
                 });

+ 1 - 2
src/main/resources/static/js/user-center/setting/information.js

@@ -117,7 +117,6 @@ var informationPage = new Vue({
                     _self.clubUpgradeUser.secondClubType = data.club.secondClubType;
                     _self.clubUpgradeUser.address = data.club.address;
                     _self.userMainPros = _self.setNewMainpro(data.club.mainProduct);
-                    console.log('2222222222222222')
                     _self.GetProvinceFn();
                     if( _self.addressfrom.townId){
                         _self.GetCtiyFn();
@@ -202,7 +201,7 @@ var informationPage = new Vue({
                     mainProduct: _self.clubUpgradeUser.mainProduct,
                     fax: _self.clubUpgradeUser.fax,
                     contractPhone: _self.clubUpgradeUser.contractPhone,
-                    profile: _self.clubUpgradeUser.profile,
+                    profile: _self.clubUpgradeUser.profile
                 }
             }else{
                 params = {