Commit c0a69fb9e44496f3b23854449220f1cb753389fe

Authored by jiangchengyong
1 parent 1f6474e1

update rpc shopuser

mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/DeliveryTimeRPCImpl.java
... ... @@ -38,7 +38,7 @@ public class DeliveryTimeRPCImpl implements DeliveryTimeRPC {
38 38 BaseOutput<DeliveryTimeOutput> output = null;
39 39 try {
40 40 output = myAppClient.getDeliveryTimeService().createShopDeliveryTime(deliveryTimeSaveInput);
41   - if(output.getCode().equals(200)){
  41 + if(output.getCode().equals("200")){
42 42 return output.getData();
43 43 }else{
44 44 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -61,7 +61,7 @@ public class DeliveryTimeRPCImpl implements DeliveryTimeRPC {
61 61 BaseOutput<Boolean> output = null;
62 62 try {
63 63 output = myAppClient.getDeliveryTimeService().deleteShopDeliveryTime(deliveryTimeId);
64   - if(output.getCode().equals(200)){
  64 + if(output.getCode().equals("200")){
65 65 return output.getData();
66 66 }else{
67 67 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -84,7 +84,7 @@ public class DeliveryTimeRPCImpl implements DeliveryTimeRPC {
84 84 BaseOutput<List<DeliveryTimeOutput>> output = null;
85 85 try {
86 86 output = myAppClient.getDeliveryTimeService().queryShopDeliveryTime(deliveryTimeListInput);
87   - if(output.getCode().equals(200)){
  87 + if(output.getCode().equals("200")){
88 88 return output.getData();
89 89 }else{
90 90 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ...
mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/FundTradeRPCImpl.java
... ... @@ -33,7 +33,7 @@ public class FundTradeRPCImpl implements FundTradeRPC {
33 33 BaseOutput<Page<FundTradeOutput>> output = null;
34 34 try {
35 35 output = myAppClient.getFundTradeService().queryFundTrade(fundTradeListInput);
36   - if(output.getCode().equals(200)){
  36 + if(output.getCode().equals("200")){
37 37 return output.getData();
38 38 }else{
39 39 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -55,7 +55,7 @@ public class FundTradeRPCImpl implements FundTradeRPC {
55 55 BaseOutput<Boolean> output = null;
56 56 try {
57 57 output = myAppClient.getFundTradeService().fundTrade(fundTradeSaveInput);
58   - if(output.getCode().equals(200)){
  58 + if(output.getCode().equals("200")){
59 59 return output.getData();
60 60 }else{
61 61 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ...
mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/PickInfoRPCImpl.java
... ... @@ -37,7 +37,7 @@ public class PickInfoRPCImpl implements PickInfoRPC{
37 37 BaseOutput<PickingInfoOutput> output = null;
38 38 try {
39 39 output = myAppClient.getPickingInfoService().addPickingInfo(pickingInfoSaveInput);
40   - if(output.getCode().equals(200)){
  40 + if(output.getCode().equals("200")){
41 41 return output.getData();
42 42 }else{
43 43 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -59,7 +59,7 @@ public class PickInfoRPCImpl implements PickInfoRPC{
59 59 BaseOutput<Boolean> output = null;
60 60 try {
61 61 output = myAppClient.getPickingInfoService().modify(pickingInfoUpdateInput);
62   - if(output.getCode().equals(200)){
  62 + if(output.getCode().equals("200")){
63 63 return output.getData();
64 64 }else{
65 65 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -81,7 +81,7 @@ public class PickInfoRPCImpl implements PickInfoRPC{
81 81 BaseOutput<List<PickingInfoOutput>> output = null;
82 82 try {
83 83 output = myAppClient.getPickingInfoService().queryPickingInfosByBuyerId(buyerId);
84   - if(output.getCode().equals(200)){
  84 + if(output.getCode().equals("200")){
85 85 return output.getData();
86 86 }else{
87 87 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -104,7 +104,7 @@ public class PickInfoRPCImpl implements PickInfoRPC{
104 104 BaseOutput<PickingInfoOutput> output = null;
105 105 try {
106 106 output = myAppClient.getPickingInfoService().getDefaultPickingInfoByBuyerId(buyerId);
107   - if(output.getCode().equals(200)){
  107 + if(output.getCode().equals("200")){
108 108 return output.getData();
109 109 }else{
110 110 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -127,7 +127,7 @@ public class PickInfoRPCImpl implements PickInfoRPC{
127 127 BaseOutput<Boolean> output = null;
128 128 try {
129 129 output = myAppClient.getPickingInfoService().delPickingInfoById(id);
130   - if(output.getCode().equals(200)){
  130 + if(output.getCode().equals("200")){
131 131 return output.getData();
132 132 }else{
133 133 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -149,7 +149,7 @@ public class PickInfoRPCImpl implements PickInfoRPC{
149 149 BaseOutput<PickingInfoOutput> output = null;
150 150 try {
151 151 output = myAppClient.getPickingInfoService().getPickingInfoById(id);
152   - if(output.getCode().equals(200)){
  152 + if(output.getCode().equals("200")){
153 153 return output.getData();
154 154 }else{
155 155 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ...
mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/ShopBuyerRPCImpl.java
... ... @@ -36,7 +36,7 @@ public class ShopBuyerRPCImpl implements ShopBuyerRPC {
36 36 boolean flag = false;
37 37 try {
38 38 output = myAppClient.getShopBuyerService().queryShopAllBuyerList(shopBuyerDetail);
39   - if(output.getCode().equals(200)){
  39 + if(output.getCode().equals("200")){
40 40 return output.getData();
41 41 }else{
42 42 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -60,7 +60,7 @@ public class ShopBuyerRPCImpl implements ShopBuyerRPC {
60 60 boolean flag = false;
61 61 try {
62 62 output = myAppClient.getShopBuyerService().bindAndActivate(buyerId,promoCode);
63   - if(output.getCode().equals(200)){
  63 + if(output.getCode().equals("200")){
64 64 return output.getData();
65 65 }else{
66 66 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -84,7 +84,7 @@ public class ShopBuyerRPCImpl implements ShopBuyerRPC {
84 84 boolean flag = false;
85 85 try {
86 86 output = myAppClient.getShopBuyerService().getShopBuyerKeys(shopBuyerId);
87   - if(output.getCode().equals(200)){
  87 + if(output.getCode().equals("200")){
88 88 return output.getData();
89 89 }else{
90 90 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -109,7 +109,7 @@ public class ShopBuyerRPCImpl implements ShopBuyerRPC {
109 109 boolean flag = false;
110 110 try {
111 111 output = myAppClient.getShopBuyerService().modifyShopRemarkName(shopBuyerId,remarkName);
112   - if(output.getCode().equals(200)){
  112 + if(output.getCode().equals("200")){
113 113 return output.getData();
114 114 }else{
115 115 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ...
mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/ShopRPCImpl.java
... ... @@ -44,7 +44,7 @@ public class ShopRPCImpl implements ShopRPC {
44 44 BaseOutput<ShopOutput> output = null;
45 45 try{
46 46 output = myAppClient.getShopInfoService().createShopInfo(shopSaveInput);
47   - if(output.getCode().equals(200)){
  47 + if(output.getCode().equals("200")){
48 48 return output.getData();
49 49 }else{
50 50 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -67,7 +67,7 @@ public class ShopRPCImpl implements ShopRPC {
67 67 BaseOutput<ShopOutput> output = null;
68 68 try{
69 69 output = myAppClient.getShopInfoService().getShopBySellerId(sellerId);
70   - if(output.getCode().equals(200)){
  70 + if(output.getCode().equals("200")){
71 71 return output.getData();
72 72 }else{
73 73 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -90,7 +90,7 @@ public class ShopRPCImpl implements ShopRPC {
90 90 BaseOutput<ShopOutput> output = null;
91 91 try{
92 92 output = myAppClient.getShopInfoService().getShopByShopId(shopId);
93   - if(output.getCode().equals(200)){
  93 + if(output.getCode().equals("200")){
94 94 return output.getData();
95 95 }else{
96 96 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -113,7 +113,7 @@ public class ShopRPCImpl implements ShopRPC {
113 113 BaseOutput<ShopOutput> output = null;
114 114 try{
115 115 output = myAppClient.getShopInfoService().getShopInfo(shopListInput);
116   - if(output.getCode().equals(200)){
  116 + if(output.getCode().equals("200")){
117 117 return output.getData();
118 118 }else{
119 119 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ... @@ -136,7 +136,7 @@ public class ShopRPCImpl implements ShopRPC {
136 136 BaseOutput<Boolean> output = null;
137 137 try{
138 138 output = myAppClient.getShopInfoService().modifyShopBasicInfo(shopUpdateInput);
139   - if(output.getCode().equals(200)){
  139 + if(output.getCode().equals("200")){
140 140 return output.getData();
141 141 }else{
142 142 throw new ServiceException(Integer.parseInt(output.getCode()),output.getResult());
... ...
mobsite-getway-web/pom.xml
... ... @@ -84,9 +84,9 @@
84 84  
85 85  
86 86 <!-- 店铺域名 -->
87   - <project.shop.url>http://shopuser.zandeapp.com</project.shop.url>
88   - <project.shop.sign></project.shop.sign>
89   - <project.shop.system></project.shop.system>
  87 + <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
  88 + <project.shopuser.sign></project.shopuser.sign>
  89 + <project.shopuser.system></project.shopuser.system>
90 90  
91 91 <!-- sms.webchina.cn 短信发送接口的配置 -->
92 92 <project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
... ... @@ -198,10 +198,10 @@
198 198 <!-- 图片服务器前缀-->
199 199 <project.imageserver.prefix>http://10.28.6.153</project.imageserver.prefix>
200 200  
201   - <!-- 店铺域名 -->
202   - <project.shop.url>http://shop.zandeapp.com</project.shop.url>
203   - <project.shop.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shop.sign>
204   - <project.shop.system>pnr-getway</project.shop.system>
  201 + <!-- 店铺用户域名 -->
  202 + <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
  203 + <project.shopuser.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shopuser.sign>
  204 + <project.shopuser.system>pnr-getway</project.shopuser.system>
205 205  
206 206 <!-- sms.webchina.cn 短信发送接口的配置 -->
207 207 <project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
... ... @@ -352,9 +352,9 @@
352 352 <project.imageserver.domain>zandeapp.com</project.imageserver.domain>
353 353  
354 354 <!-- 店铺域名 -->
355   - <project.shop.url>http://shop.zandeapp.com</project.shop.url>
356   - <project.shop.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shop.sign>
357   - <project.shop.system>pnr-getway</project.shop.system>
  355 + <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
  356 + <project.shopuser.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shopuser.sign>
  357 + <project.shopuser.system>pnr-getway</project.shopuser.system>
358 358  
359 359 <!-- sms.webchina.cn 短信发送接口的配置 -->
360 360 <project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
... ... @@ -505,9 +505,9 @@
505 505  
506 506  
507 507 <!-- 店铺域名 -->
508   - <project.shop.url>http://shop.zandeapp.com</project.shop.url>
509   - <project.shop.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shop.sign>
510   - <project.shop.system>pnr-getway</project.shop.system>
  508 + <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
  509 + <project.shopuser.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shopuser.sign>
  510 + <project.shopuser.system>pnr-getway</project.shopuser.system>
511 511  
512 512 <!-- sms.webchina.cn 短信发送接口的配置 -->
513 513 <project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
... ...
mobsite-getway-web/src/main/resources/spring-rpc.xml
... ... @@ -24,7 +24,7 @@
24 24  
25 25 <bean id="myAppClient" class="com.b2c.myapp.sdk.MyAppClient">
26 26 <constructor-arg name="token" value="token"/>
27   - <constructor-arg name="baseUrl" value="${project.shop.url}"/>
  27 + <constructor-arg name="baseUrl" value="${project.shopuser.url}"/>
28 28 </bean>
29 29  
30 30 <bean id="websiteClient" class="com.diligrp.website.web.interfaces.WebsiteClient">
... ...