Commit c626371c177a563cbc0befa0f406fd043fed4ce1

Authored by Jiang
1 parent 08afc869

购物车RPC配置

mobsite-getway-rpc/src/main/java/com/diligrp/mobsite/getway/rpc/impl/ShoppingCartRPCImpl.java
... ... @@ -3,8 +3,8 @@ package com.diligrp.mobsite.getway.rpc.impl;
3 3 import java.util.ArrayList;
4 4 import java.util.List;
5 5  
6   -import javax.annotation.Resource;
7   -
  6 +import org.springframework.beans.factory.annotation.Autowired;
  7 +import org.springframework.stereotype.Service;
8 8 import org.springframework.util.CollectionUtils;
9 9  
10 10 import com.b2c.myapp.common.api.shoppingCart.input.ShoppingCartListInput;
... ... @@ -13,6 +13,7 @@ import com.b2c.myapp.common.api.shoppingCart.input.ShoppingCartUpdateInput;
13 13 import com.b2c.myapp.common.api.shoppingCart.output.CartInfo;
14 14 import com.b2c.myapp.common.api.shoppingCart.output.ShoppingCartOutput;
15 15 import com.b2c.myapp.common.utils.BaseOutput;
  16 +import com.b2c.myapp.sdk.MyAppClient;
16 17 import com.b2c.myapp.sdk.service.ShoppingCartService;
17 18 import com.diligrp.mobsite.getway.domain.common.ResultCode;
18 19 import com.diligrp.mobsite.getway.domain.except.ServiceException;
... ... @@ -31,11 +32,16 @@ import com.diligrp.mobsite.getway.domain.protocol.cart.model.CartProduct;
31 32 import com.diligrp.mobsite.getway.domain.protocol.cart.model.CartProductSku;
32 33 import com.diligrp.mobsite.getway.rpc.ShoppingCartRPC;
33 34  
  35 +@Service
34 36 public class ShoppingCartRPCImpl implements ShoppingCartRPC {
35 37  
36   - @Resource
37 38 private ShoppingCartService cartService;
38 39  
  40 + @Autowired
  41 + public ShoppingCartRPCImpl(MyAppClient client) {
  42 + this.cartService = client.getShoppingCartService();
  43 + }
  44 +
39 45 @Override
40 46 public GetCartByUserResp getCart(GetCartByUserReq req) {
41 47 GetCartByUserResp resp = new GetCartByUserResp();
... ...
mobsite-getway-web/pom.xml
... ... @@ -29,7 +29,7 @@
29 29 <artifactId>tomcat-maven-plugin</artifactId>
30 30 <configuration>
31 31 <path>/</path>
32   - <port>80</port>
  32 + <port>80</port>
33 33 </configuration>
34 34 </plugin>
35 35 <plugin>
... ... @@ -39,31 +39,31 @@
39 39 <configuration>
40 40 <port>8080</port>
41 41 <url>http://10.28.11.181:80/manager</url>
42   - <username>gateway</username>
  42 + <username>gateway</username>
43 43 <password>123456</password>
44 44 <path>/</path>
45 45 </configuration>
46 46 </plugin>
47 47  
48   - <plugin>
49   - <groupId>org.mortbay.jetty</groupId>
50   - <artifactId>jetty-maven-plugin</artifactId>
51   - <version>7.6.14.v20131031</version>
52   - <configuration>
53   - <scanIntervalSeconds>10</scanIntervalSeconds>
54   - <connectors>
55   - <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
56   - <port>80</port>
57   - <maxIdleTime>60000</maxIdleTime>
58   - </connector>
59   - </connectors>
60   - <webAppConfig>
61   - <contextPath>/</contextPath>
62   - </webAppConfig>
63   - <stopPort>9999</stopPort>
64   - <stopKey>jetty</stopKey>
65   - </configuration>
66   - </plugin>
  48 + <plugin>
  49 + <groupId>org.mortbay.jetty</groupId>
  50 + <artifactId>jetty-maven-plugin</artifactId>
  51 + <version>7.6.14.v20131031</version>
  52 + <configuration>
  53 + <scanIntervalSeconds>10</scanIntervalSeconds>
  54 + <connectors>
  55 + <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
  56 + <port>80</port>
  57 + <maxIdleTime>60000</maxIdleTime>
  58 + </connector>
  59 + </connectors>
  60 + <webAppConfig>
  61 + <contextPath>/</contextPath>
  62 + </webAppConfig>
  63 + <stopPort>9999</stopPort>
  64 + <stopKey>jetty</stopKey>
  65 + </configuration>
  66 + </plugin>
67 67 </plugins>
68 68 </build>
69 69  
... ... @@ -83,11 +83,11 @@
83 83 <project.redis.port1>6379</project.redis.port1>
84 84  
85 85  
86   - <!-- 店铺域名 -->
  86 + <!-- 店铺域名 -->
87 87 <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
88 88 <project.shopuser.sign></project.shopuser.sign>
89 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>
93 93 <project.sms.webchina.userName>itly</project.sms.webchina.userName>
... ... @@ -102,44 +102,44 @@
102 102 <!-- interface stationmsg -->
103 103 <website.stationmsg.baseUrl>http://message.zandeapp.com/api</website.stationmsg.baseUrl>
104 104 <website.stationmsg.token>token</website.stationmsg.token>
105   -
  105 +
106 106 <!-- interface order -->
107 107 <website.order.baseUrl>http://orders.zandeapp.com</website.order.baseUrl>
108 108 <website.order.token>token</website.order.token>
109   -
110 109  
111   -
  110 +
  111 +
112 112 <!-- interface titan -->
113 113 <website.titan.accesskey>accesskey</website.titan.accesskey>
114 114 <website.titan.secretkey>secretkey</website.titan.secretkey>
115 115 <website.titan.url>http://titan.api.zandeapp.com</website.titan.url>
116   -
117   -
118   - <!--passport interface-->
119   - <website.passport.baseUrl>http://passport.api.zandeapp.com</website.passport.baseUrl>
120   - <website.passport.token>token</website.passport.token>
121   - <!-- passportSign -->
122   - <passport.login.passportSign>MTIzNDU2Nzg5</passport.login.passportSign>
123   -
124   -
125   - <!-- messagecenter -->
126   - <website.messagecenter.namesrvAddr>10.28.11.193:9876</website.messagecenter.namesrvAddr>
127   - <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
128   -
129   - <!--cms-->
130   - <project.cms.baseUrl>http://cms.zandeapp.com/admin</project.cms.baseUrl>
131   - <project.cms.port>80</project.cms.port>
132   -
133   - <!-- fastdfs-->
134   - <project.fastdfs.trackers>10.28.6.148:22122,10.28.6.149:22122</project.fastdfs.trackers>
  116 +
  117 +
  118 + <!--passport interface -->
  119 + <website.passport.baseUrl>http://passport.api.zandeapp.com</website.passport.baseUrl>
  120 + <website.passport.token>token</website.passport.token>
  121 + <!-- passportSign -->
  122 + <passport.login.passportSign>MTIzNDU2Nzg5</passport.login.passportSign>
  123 +
  124 +
  125 + <!-- messagecenter -->
  126 + <website.messagecenter.namesrvAddr>10.28.11.193:9876</website.messagecenter.namesrvAddr>
  127 + <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
  128 +
  129 + <!--cms -->
  130 + <project.cms.baseUrl>http://cms.zandeapp.com/admin</project.cms.baseUrl>
  131 + <project.cms.port>80</project.cms.port>
  132 +
  133 + <!-- fastdfs -->
  134 + <project.fastdfs.trackers>10.28.6.148:22122,10.28.6.149:22122</project.fastdfs.trackers>
135 135 <project.fastdfs.trackercount>2</project.fastdfs.trackercount>
136 136 <project.fastdfs.connectTimeout>2000</project.fastdfs.connectTimeout>
137 137 <project.fastdfs.networkTimeout>30000</project.fastdfs.networkTimeout>
138 138 <project.fastdfs.charset>utf-8</project.fastdfs.charset>
139   -
  139 +
140 140 <!-- 图片服务器前缀 -->
141   - <project.imageserver.prefix>http://10.28.6.153</project.imageserver.prefix>
142   -
  141 + <project.imageserver.prefix>http://10.28.6.153</project.imageserver.prefix>
  142 +
143 143 <!-- 上传文件服务 -->
144 144 <project.store.url>http://up.zandeapp.com</project.store.url>
145 145 <project.store.imageAccessKey>jNvRQi3lLAY7tFpJkWYeF5Fa99Cl6kZRcEiMaZGp</project.store.imageAccessKey>
... ... @@ -147,12 +147,12 @@
147 147 <!-- 上传音频服务 -->
148 148 <project.store.messageAccessKey>30-PHVmSK6iAMLw5ekBem7l3_qMBceWHnAqeIwnF</project.store.messageAccessKey>
149 149 <project.store.messageSecretKey>00V-jKrjBgpePC2gSuUJE7cWQ1ReJuzltvXA5yq-</project.store.messageSecretKey>
150   - <!-- 关键词过滤配置-->
151   - <project.keyword.token></project.keyword.token>
152   - <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
153   - <!-- 网关配置-->
154   - <getway.log.isPrintParam>true</getway.log.isPrintParam>
155   -
  150 + <!-- 关键词过滤配置 -->
  151 + <project.keyword.token></project.keyword.token>
  152 + <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
  153 + <!-- 网关配置 -->
  154 + <getway.log.isPrintParam>true</getway.log.isPrintParam>
  155 +
156 156 <!-- 数据库连接池配置文件 -->
157 157 <project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass>
158 158 <project.dbpool.jdbcUrl>jdbc:mysql://10.28.11.162:3306/mobsite_man?useUnicode=true&amp;characterEncoding=utf8</project.dbpool.jdbcUrl>
... ... @@ -168,13 +168,10 @@
168 168 <project.dbpool.releaseHelperThreads>3</project.dbpool.releaseHelperThreads>
169 169 </properties>
170 170 </profile>
171   -
172   -
  171 +
  172 +
173 173 <profile>
174 174 <id>test</id>
175   - <activation>
176   - <activeByDefault>true</activeByDefault>
177   - </activation>
178 175 <properties>
179 176 <!-- 显示模板 -->
180 177 <project.view.VMDefault>layout/default</project.view.VMDefault>
... ... @@ -182,32 +179,32 @@
182 179 <!-- redis 配置 -->
183 180 <project.redis.host1>10.28.10.207</project.redis.host1>
184 181 <project.redis.port1>6379</project.redis.port1>
185   -
  182 +
186 183 <!-- 商品详情链接地址 -->
187   - <project.product.detail.path>http://www.zandeapp.com/product/</project.product.detail.path>
188   -
  184 + <project.product.detail.path>http://www.zandeapp.com/product/</project.product.detail.path>
  185 +
189 186 <!-- 后台默认静态资源地址 -->
190 187 <project.default.assets.path>http://static.zandeapp.com/static/ace1.3/assets</project.default.assets.path>
191   -
  188 +
192 189 <!-- 公共样式引用 -->
193 190 <project.default.assets.common.path>http://static.zandeapp.com/static/</project.default.assets.common.path>
194   -
  191 +
195 192 <!-- 本地资源地址 -->
196 193 <project.default.local.path>/</project.default.local.path>
197   -
198   - <!-- 图片服务器前缀-->
199   - <project.imageserver.prefix>http://10.28.6.153</project.imageserver.prefix>
200   -
  194 +
  195 + <!-- 图片服务器前缀 -->
  196 + <project.imageserver.prefix>http://10.28.6.153</project.imageserver.prefix>
  197 +
201 198 <!-- 店铺用户域名 -->
202 199 <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
203 200 <project.shopuser.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shopuser.sign>
204 201 <project.shopuser.system>pnr-getway</project.shopuser.system>
205   -
  202 +
206 203 <!-- sms.webchina.cn 短信发送接口的配置 -->
207 204 <project.sms.webchina.SMSKey>2cf3264488ee3beef224</project.sms.webchina.SMSKey>
208 205 <project.sms.webchina.userName>itly</project.sms.webchina.userName>
209 206 <project.sms.webchina.postURL>http://gbk.sms.webchinese.cn</project.sms.webchina.postURL>
210   -
  207 +
211 208 <!-- interface line -->
212 209 <company.yibu.baseUrl>http://wl.zandeapp.com</company.yibu.baseUrl>
213 210 <company.yibu.token>token</company.yibu.token>
... ... @@ -219,65 +216,65 @@
219 216 <!-- interface user -->
220 217 <website.user.baseUrl>http://shopuser.zandeapp.com</website.user.baseUrl>
221 218 <website.user.token>token</website.user.token>
222   -
  219 +
223 220 <!-- interface order -->
224 221 <website.order.baseUrl>http://orders.zandeapp.com</website.order.baseUrl>
225 222 <website.order.token>token</website.order.token>
226   - <!-- interface srvce -->
227   - <website.srvce.baseUrl>http://orders.zandeapp.com</website.srvce.baseUrl>
228   - <website.srvce.token>token</website.srvce.token>
  223 + <!-- interface srvce -->
  224 + <website.srvce.baseUrl>http://orders.zandeapp.com</website.srvce.baseUrl>
  225 + <website.srvce.token>token</website.srvce.token>
229 226 <!-- interface home -->
230 227 <website.home.baseUrl>http://www.zandeapp.com</website.home.baseUrl>
231 228 <website.home.token>token</website.home.token>
232 229 <!-- interface stationmsg -->
233 230 <website.stationmsg.baseUrl>http://message.zandeapp.com/api</website.stationmsg.baseUrl>
234 231 <website.stationmsg.token>token</website.stationmsg.token>
235   - <!--supply message interface-->
236   - <website.supply.baseUrl>http://supplymsg.zandeapp.com</website.supply.baseUrl>
237   - <website.supply.token>token</website.supply.token>
  232 + <!--supply message interface -->
  233 + <website.supply.baseUrl>http://supplymsg.zandeapp.com</website.supply.baseUrl>
  234 + <website.supply.token>token</website.supply.token>
238 235 <!-- interface websiteClient -->
239 236 <website.websiteClient.baseUrl>http://manweb.zandeapp.com/</website.websiteClient.baseUrl>
240 237 <website.websiteClient.token>token</website.websiteClient.token>
241   -
  238 +
242 239 <!-- interface order -->
243 240 <website.order.baseUrl>http://orders.zandeapp.com</website.order.baseUrl>
244 241 <website.order.token>token</website.order.token>
245   -
  242 +
246 243 <!-- interface srvce -->
247 244 <website.srvce.baseUrl>http://orders.zandeapp.com/srvce-web</website.srvce.baseUrl>
248 245 <website.srvce.token>token</website.srvce.token>
249   -
250   -
  246 +
  247 +
251 248 <!-- interface titan -->
252 249 <website.titan.accesskey>accesskey</website.titan.accesskey>
253 250 <website.titan.secretkey>secretkey</website.titan.secretkey>
254 251 <website.titan.url>http://titan.api.zandeapp.com</website.titan.url>
255   -
  252 +
256 253 <!-- interface search -->
257   - <website.search.host>interface.zandeapp.com</website.search.host>
258   - <website.search.port>9831</website.search.port>
259   -
260   - <!-- auth center -->
261   - <website.authcenter.token>token</website.authcenter.token>
262   - <website.authcenter.url>http://authencenter.zandeapp.com</website.authcenter.url>
263   -
264   - <!--passport interface-->
265   - <website.passport.baseUrl>http://passport.api.zandeapp.com</website.passport.baseUrl>
266   - <website.passport.token>token</website.passport.token>
267   -
268   - <!-- passportSign -->
269   - <passport.login.passportSign>MTIzNDU2Nzg5</passport.login.passportSign>
270   -
271   - <!-- messagecenter -->
272   - <website.messagecenter.namesrvAddr>10.28.10.230:9876</website.messagecenter.namesrvAddr>
273   - <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
274   -
275   - <!--cms-->
276   - <project.cms.baseUrl>http://cms.zandeapp.com/admin</project.cms.baseUrl>
277   - <project.cms.port>80</project.cms.port>
278   -
279   - <!-- fastdfs -->
280   - <project.fastdfs.trackers>10.28.6.148:22122,10.28.6.149:22122</project.fastdfs.trackers>
  254 + <website.search.host>interface.zandeapp.com</website.search.host>
  255 + <website.search.port>9831</website.search.port>
  256 +
  257 + <!-- auth center -->
  258 + <website.authcenter.token>token</website.authcenter.token>
  259 + <website.authcenter.url>http://authencenter.zandeapp.com</website.authcenter.url>
  260 +
  261 + <!--passport interface -->
  262 + <website.passport.baseUrl>http://passport.api.zandeapp.com</website.passport.baseUrl>
  263 + <website.passport.token>token</website.passport.token>
  264 +
  265 + <!-- passportSign -->
  266 + <passport.login.passportSign>MTIzNDU2Nzg5</passport.login.passportSign>
  267 +
  268 + <!-- messagecenter -->
  269 + <website.messagecenter.namesrvAddr>10.28.10.230:9876</website.messagecenter.namesrvAddr>
  270 + <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
  271 +
  272 + <!--cms -->
  273 + <project.cms.baseUrl>http://cms.zandeapp.com/admin</project.cms.baseUrl>
  274 + <project.cms.port>80</project.cms.port>
  275 +
  276 + <!-- fastdfs -->
  277 + <project.fastdfs.trackers>10.28.6.148:22122,10.28.6.149:22122</project.fastdfs.trackers>
281 278 <project.fastdfs.trackercount>2</project.fastdfs.trackercount>
282 279 <project.fastdfs.connectTimeout>2000</project.fastdfs.connectTimeout>
283 280 <project.fastdfs.networkTimeout>30000</project.fastdfs.networkTimeout>
... ... @@ -292,20 +289,20 @@
292 289 <!-- 上传音频服务 -->
293 290 <project.store.messageAccessKey>30-PHVmSK6iAMLw5ekBem7l3_qMBceWHnAqeIwnF</project.store.messageAccessKey>
294 291 <project.store.messageSecretKey>00V-jKrjBgpePC2gSuUJE7cWQ1ReJuzltvXA5yq-</project.store.messageSecretKey>
295   -
  292 +
296 293 <!-- 开通一卡通账户接口 -->
297   - <interface.onecard.service.url>http://mapi.pay.et.dili7.local/partner/gateway.do</interface.onecard.service.url>
298   - <!-- 一卡通接口参数 -->
299   - <interface.onecard.service.service>dilipay.account.info.add</interface.onecard.service.service>
300   - <interface.onecard.service.sign>09e1d2cb6cb235ca1a413fdad38ec576</interface.onecard.service.sign>
301   - <interface.onecard.service.signType>MD5</interface.onecard.service.signType>
302   - <interface.onecard.service.partnerId>80122</interface.onecard.service.partnerId>
303   -
304   - <!-- 关键词过滤配置-->
305   - <project.keyword.token></project.keyword.token>
306   - <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
307   - <!-- 网关配置-->
308   - <getway.log.isPrintParam>true</getway.log.isPrintParam>
  294 + <interface.onecard.service.url>http://mapi.pay.et.dili7.local/partner/gateway.do</interface.onecard.service.url>
  295 + <!-- 一卡通接口参数 -->
  296 + <interface.onecard.service.service>dilipay.account.info.add</interface.onecard.service.service>
  297 + <interface.onecard.service.sign>09e1d2cb6cb235ca1a413fdad38ec576</interface.onecard.service.sign>
  298 + <interface.onecard.service.signType>MD5</interface.onecard.service.signType>
  299 + <interface.onecard.service.partnerId>80122</interface.onecard.service.partnerId>
  300 +
  301 + <!-- 关键词过滤配置 -->
  302 + <project.keyword.token></project.keyword.token>
  303 + <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
  304 + <!-- 网关配置 -->
  305 + <getway.log.isPrintParam>true</getway.log.isPrintParam>
309 306  
310 307 <!-- 数据库连接池配置文件 -->
311 308 <project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass>
... ... @@ -325,9 +322,6 @@
325 322  
326 323 <profile>
327 324 <id>pre_online</id>
328   - <activation>
329   - <activeByDefault>true</activeByDefault>
330   - </activation>
331 325 <properties>
332 326 <!-- 显示模板 -->
333 327 <project.view.VMDefault>layout/default</project.view.VMDefault>
... ... @@ -385,7 +379,7 @@
385 379 <!-- interface stationmsg -->
386 380 <website.stationmsg.baseUrl>http://message.zandeapp.com/api</website.stationmsg.baseUrl>
387 381 <website.stationmsg.token>token</website.stationmsg.token>
388   - <!--supply message interface-->
  382 + <!--supply message interface -->
389 383 <website.supply.baseUrl>http://supplymsg.zandeapp.com</website.supply.baseUrl>
390 384 <website.supply.token>token</website.supply.token>
391 385 <!-- interface websiteClient -->
... ... @@ -414,7 +408,7 @@
414 408 <website.authcenter.token>token</website.authcenter.token>
415 409 <website.authcenter.url>http://authencenter.zandeapp.com</website.authcenter.url>
416 410  
417   - <!--passport interface-->
  411 + <!--passport interface -->
418 412 <website.passport.baseUrl>http://passport.api.zandeapp.com</website.passport.baseUrl>
419 413 <website.passport.token>token</website.passport.token>
420 414  
... ... @@ -425,7 +419,7 @@
425 419 <website.messagecenter.namesrvAddr>10.28.6.51:9876</website.messagecenter.namesrvAddr>
426 420 <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
427 421  
428   - <!--cms-->
  422 + <!--cms -->
429 423 <project.cms.baseUrl>http://cms.zandeapp.com/admin</project.cms.baseUrl>
430 424 <project.cms.port>80</project.cms.port>
431 425  
... ... @@ -455,10 +449,10 @@
455 449 <interface.onecard.service.signType>MD5</interface.onecard.service.signType>
456 450 <interface.onecard.service.partnerId>80122</interface.onecard.service.partnerId>
457 451  
458   - <!-- 关键词过滤配置-->
  452 + <!-- 关键词过滤配置 -->
459 453 <project.keyword.token></project.keyword.token>
460 454 <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
461   - <!-- 网关配置-->
  455 + <!-- 网关配置 -->
462 456 <getway.log.isPrintParam>true</getway.log.isPrintParam>
463 457  
464 458 <!-- 数据库连接池配置文件 -->
... ... @@ -502,8 +496,8 @@
502 496 <!-- 图片服务器前缀 -->
503 497 <project.imageserver.prefix>http://192.168.28.22:8000</project.imageserver.prefix>
504 498 <project.imageserver.domain>zandeapp.com</project.imageserver.domain>
505   -
506   -
  499 +
  500 +
507 501 <!-- 店铺域名 -->
508 502 <project.shopuser.url>http://shopuser.zandeapp.com</project.shopuser.url>
509 503 <project.shopuser.sign>FzZGZxd2VycXdlYXNzZHZzdnp4Y3Z</project.shopuser.sign>
... ... @@ -523,23 +517,23 @@
523 517 <!-- interface order -->
524 518 <website.order.baseUrl>http://orders.zandeapp.com</website.order.baseUrl>
525 519 <website.order.token>token</website.order.token>
526   -
  520 +
527 521 <!-- interface srvce -->
528 522 <website.srvce.baseUrl>http://orders.zandeapp.com</website.srvce.baseUrl>
529 523 <website.srvce.token>token</website.srvce.token>
530   -
  524 +
531 525 <!-- interface home -->
532 526 <website.home.baseUrl>http://www.zandeapp.com</website.home.baseUrl>
533 527 <website.home.token>token</website.home.token>
534   -
  528 +
535 529 <!-- interface stationmsg -->
536 530 <website.stationmsg.baseUrl>http://message.zandeapp.com/api</website.stationmsg.baseUrl>
537 531 <website.stationmsg.token>token</website.stationmsg.token>
538   -
539   - <!--supply message interface-->
  532 +
  533 + <!--supply message interface -->
540 534 <website.supply.baseUrl>http://supplymsg.zandeapp.com</website.supply.baseUrl>
541 535 <website.supply.token>token</website.supply.token>
542   -
  536 +
543 537 <!-- interface websiteClient -->
544 538 <website.websiteClient.baseUrl>http://manweb.zandeapp.com/</website.websiteClient.baseUrl>
545 539 <website.websiteClient.token>token</website.websiteClient.token>
... ... @@ -567,50 +561,50 @@
567 561 <website.authcenter.url>http://authencenter.zandeapp.com/</website.authcenter.url>
568 562  
569 563 <!-- messagecenter -->
570   - <website.messagecenter.namesrvAddr>192.168.28.34:9876;192.168.28.35:9876</website.messagecenter.namesrvAddr>
571   - <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
  564 + <website.messagecenter.namesrvAddr>192.168.28.34:9876;192.168.28.35:9876</website.messagecenter.namesrvAddr>
  565 + <website.messagecenter.producerGroup>mobsite_getway</website.messagecenter.producerGroup>
572 566  
573   - <!--passport interface-->
  567 + <!--passport interface -->
574 568 <website.passport.baseUrl>http://passport.api.zandeapp.com</website.passport.baseUrl>
575 569 <website.passport.token>token</website.passport.token>
576 570 <!-- passportSign -->
577   - <passport.login.passportSign>TkdqQUhyUFprVGdJM2U3UzZvUWdrQjZwYnpibmRK</passport.login.passportSign>
578   -
579   - <!--cms-->
580   - <project.cms.baseUrl>http://cms.zandeapp.com</project.cms.baseUrl>
581   - <project.cms.port>80</project.cms.port>
  571 + <passport.login.passportSign>TkdqQUhyUFprVGdJM2U3UzZvUWdrQjZwYnpibmRK</passport.login.passportSign>
  572 +
  573 + <!--cms -->
  574 + <project.cms.baseUrl>http://cms.zandeapp.com</project.cms.baseUrl>
  575 + <project.cms.port>80</project.cms.port>
582 576  
583 577  
584 578  
585 579 <!-- fastdfs -->
586   - <project.fastdfs.trackers>192.168.28.38:22122,192.168.28.39:22122</project.fastdfs.trackers>
  580 + <project.fastdfs.trackers>192.168.28.38:22122,192.168.28.39:22122</project.fastdfs.trackers>
587 581 <project.fastdfs.trackercount>2</project.fastdfs.trackercount>
588 582 <project.fastdfs.connectTimeout>2000</project.fastdfs.connectTimeout>
589 583 <project.fastdfs.networkTimeout>30000</project.fastdfs.networkTimeout>
590 584 <project.fastdfs.charset>utf-8</project.fastdfs.charset>
591   -
592   -
  585 +
  586 +
593 587 <!-- 上传文件服务,image桶 -->
594 588 <project.store.imageAccessKey>d6a300418bd6fa2178b3bbb06a421f32</project.store.imageAccessKey>
595 589 <project.store.imageSecretKey>8d2d1ac5541dcfbbd78ac1793ce4f782</project.store.imageSecretKey>
596 590 <!-- 上传音频服务,message桶 -->
597 591 <project.store.messageAccessKey>wFI9FVLpBgufxvb77tuSP8J2i4cZsf96Bc9KBY3w</project.store.messageAccessKey>
598 592 <project.store.messageSecretKey>OD6F8DPpH7wBsh0OkEmfk9C_zxzT2G7xHDig8JJg</project.store.messageSecretKey>
599   -
  593 +
600 594 <!-- 开通一卡通账户接口 -->
601   - <interface.onecard.service.url>http://mapi.pay.et.dili7.local/partner/gateway.do</interface.onecard.service.url>
602   -
603   - <!-- 一卡通接口参数 -->
604   - <interface.onecard.service.service>dilipay.account.info.add</interface.onecard.service.service>
605   - <interface.onecard.service.sign>09e1d2cb6cb235ca1a413fdad38ec576</interface.onecard.service.sign>
606   - <interface.onecard.service.signType>MD5</interface.onecard.service.signType>
607   - <interface.onecard.service.partnerId>80122</interface.onecard.service.partnerId>
608   -
609   - <!-- 关键词过滤配置-->
610   - <project.keyword.token></project.keyword.token>
611   - <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
612   - <!-- 网关配置-->
613   - <getway.log.isPrintParam>false</getway.log.isPrintParam>
  595 + <interface.onecard.service.url>http://mapi.pay.et.dili7.local/partner/gateway.do</interface.onecard.service.url>
  596 +
  597 + <!-- 一卡通接口参数 -->
  598 + <interface.onecard.service.service>dilipay.account.info.add</interface.onecard.service.service>
  599 + <interface.onecard.service.sign>09e1d2cb6cb235ca1a413fdad38ec576</interface.onecard.service.sign>
  600 + <interface.onecard.service.signType>MD5</interface.onecard.service.signType>
  601 + <interface.onecard.service.partnerId>80122</interface.onecard.service.partnerId>
  602 +
  603 + <!-- 关键词过滤配置 -->
  604 + <project.keyword.token></project.keyword.token>
  605 + <project.keyword.url>http://keyword.filter.zandeapp.com</project.keyword.url>
  606 + <!-- 网关配置 -->
  607 + <getway.log.isPrintParam>false</getway.log.isPrintParam>
614 608  
615 609 <!-- 数据库连接池配置文件 -->
616 610 <project.dbpool.driverClass>org.mariadb.jdbc.Driver</project.dbpool.driverClass>
... ... @@ -627,67 +621,61 @@
627 621 <project.dbpool.releaseHelperThreads>3</project.dbpool.releaseHelperThreads>
628 622 </properties>
629 623 </profile>
630   -
  624 +
631 625 </profiles>
632 626  
633 627 <dependencies>
634   - <!-- jdk tools
635   - <dependency>
636   - <groupId>jdk.tools</groupId>
637   - <artifactId>jdk.tools</artifactId>
638   - <version>1.7</version>
639   - <scope>system</scope>
640   - <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
641   - </dependency>
642   - -->
  628 + <!-- jdk tools <dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.tools</artifactId>
  629 + <version>1.7</version> <scope>system</scope> <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
  630 + </dependency> -->
643 631 <dependency>
644 632 <groupId>com.diligrp.mobsite</groupId>
645 633 <artifactId>mobsite-getway-service</artifactId>
646 634 <version>0.0.1-SNAPSHOT</version>
647 635 </dependency>
648   -
649   - <dependency>
650   - <groupId>com.diligrp</groupId>
651   - <artifactId>passport-client</artifactId>
652   - <version>0.0.9-SNAPSHOT</version>
653   - </dependency>
654   -
655   - <!-- 权限拦截器 -->
656   - <dependency>
657   - <groupId>com.diligrp.manage</groupId>
658   - <artifactId>diligrp-manage-sdk</artifactId>
659   - <version>0.0.2-SNAPSHOT</version>
660   - </dependency>
  636 +
  637 + <dependency>
  638 + <groupId>com.diligrp</groupId>
  639 + <artifactId>passport-client</artifactId>
  640 + <version>0.0.9-SNAPSHOT</version>
  641 + </dependency>
  642 +
  643 + <!-- 权限拦截器 -->
  644 + <dependency>
  645 + <groupId>com.diligrp.manage</groupId>
  646 + <artifactId>diligrp-manage-sdk</artifactId>
  647 + <version>0.0.2-SNAPSHOT</version>
  648 + </dependency>
661 649  
662 650 <!-- hbase 依赖 -->
663 651 <dependency>
664 652 <groupId>org.apache.hbase</groupId>
665 653 <artifactId>hbase-client</artifactId>
666 654 <version>0.96.1.1-cdh5.0.0</version>
667   - <exclusions>
668   - <exclusion>
669   - <groupId>javax.servlet</groupId>
670   - <artifactId>servlet-api</artifactId>
671   - </exclusion>
672   - </exclusions>
673   - </dependency>
  655 + <exclusions>
  656 + <exclusion>
  657 + <groupId>javax.servlet</groupId>
  658 + <artifactId>servlet-api</artifactId>
  659 + </exclusion>
  660 + </exclusions>
  661 + </dependency>
674 662 <dependency>
675 663 <groupId>org.apache.hadoop</groupId>
676 664 <artifactId>hadoop-hdfs</artifactId>
677 665 <version>2.3.0-cdh5.0.0</version>
678   - <exclusions>
679   - <exclusion>
680   - <groupId>javax.servlet</groupId>
681   - <artifactId>servlet-api</artifactId>
682   - </exclusion>
683   - </exclusions>
684   - </dependency>
685   - <dependency>
686   - <groupId>commons-io</groupId>
687   - <artifactId>commons-io</artifactId>
688   - <version>2.4</version>
689   - </dependency>
690   - <dependency>
  666 + <exclusions>
  667 + <exclusion>
  668 + <groupId>javax.servlet</groupId>
  669 + <artifactId>servlet-api</artifactId>
  670 + </exclusion>
  671 + </exclusions>
  672 + </dependency>
  673 + <dependency>
  674 + <groupId>commons-io</groupId>
  675 + <artifactId>commons-io</artifactId>
  676 + <version>2.4</version>
  677 + </dependency>
  678 + <dependency>
691 679 <groupId>commons-codec</groupId>
692 680 <artifactId>commons-codec</artifactId>
693 681 <version>1.10</version>
... ...