Authored by mali

开启验签

@@ -775,6 +775,7 @@ public class ProductController { @@ -775,6 +775,7 @@ public class ProductController {
775 * @return 775 * @return
776 */ 776 */
777 @IgnoreSession 777 @IgnoreSession
  778 + @IgnoreSignature
778 @RequestMapping(params = "method=ufo.product.skup.detail") 779 @RequestMapping(params = "method=ufo.product.skup.detail")
779 public ApiResponse querySkupDetailBySkup(@RequestParam(value = "skup") Integer skup, 780 public ApiResponse querySkupDetailBySkup(@RequestParam(value = "skup") Integer skup,
780 @RequestParam(value = "store_id", required = false) Integer storeId) { 781 @RequestParam(value = "store_id", required = false) Integer storeId) {
@@ -871,6 +872,7 @@ public class ProductController { @@ -871,6 +872,7 @@ public class ProductController {
871 @ApiOperation(name = "ufo.product.inStockNew.briefData", desc = "现货-商品详情(砍价)") 872 @ApiOperation(name = "ufo.product.inStockNew.briefData", desc = "现货-商品详情(砍价)")
872 @IgnoreSession 873 @IgnoreSession
873 @RequestMapping(params = "method=ufo.product.inStockNew.briefData") 874 @RequestMapping(params = "method=ufo.product.inStockNew.briefData")
  875 + @IgnoreSignature
874 @Cachable(expire = 120) 876 @Cachable(expire = 120)
875 public ApiResponse queryProductInStockNewBriefById( 877 public ApiResponse queryProductInStockNewBriefById(
876 @RequestParam(value = "product_id") Integer productId) { 878 @RequestParam(value = "product_id") Integer productId) {
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject; @@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject;
4 import com.yohobuy.ufo.model.response.store.StoreInfoBo; 4 import com.yohobuy.ufo.model.response.store.StoreInfoBo;
5 import com.yohoufo.common.ApiResponse; 5 import com.yohoufo.common.ApiResponse;
6 import com.yohoufo.common.annotation.IgnoreSession; 6 import com.yohoufo.common.annotation.IgnoreSession;
  7 +import com.yohoufo.common.annotation.IgnoreSignature;
7 import com.yohoufo.common.exception.UfoServiceException; 8 import com.yohoufo.common.exception.UfoServiceException;
8 import com.yohoufo.product.service.StoreService; 9 import com.yohoufo.product.service.StoreService;
9 import org.slf4j.Logger; 10 import org.slf4j.Logger;
@@ -22,6 +23,7 @@ public class StoreController { @@ -22,6 +23,7 @@ public class StoreController {
22 private StoreService storeService; 23 private StoreService storeService;
23 24
24 @IgnoreSession 25 @IgnoreSession
  26 + @IgnoreSignature
25 @RequestMapping(params = "method=ufo.store.queryStoreInfoById") 27 @RequestMapping(params = "method=ufo.store.queryStoreInfoById")
26 public ApiResponse queryStoreInfoById(@RequestParam("storeId") Integer storeId) { 28 public ApiResponse queryStoreInfoById(@RequestParam("storeId") Integer storeId) {
27 if(storeId == null || storeId < 1) { 29 if(storeId == null || storeId < 1) {
@@ -39,6 +41,7 @@ public class StoreController { @@ -39,6 +41,7 @@ public class StoreController {
39 } 41 }
40 42
41 @IgnoreSession 43 @IgnoreSession
  44 + @IgnoreSignature
42 @RequestMapping(params = "method=ufo.store.isLocationInStore") 45 @RequestMapping(params = "method=ufo.store.isLocationInStore")
43 public ApiResponse isLocationInStore(@RequestParam("store_id") Integer storeId, 46 public ApiResponse isLocationInStore(@RequestParam("store_id") Integer storeId,
44 @RequestParam("user_longitude") Double userLongitude, 47 @RequestParam("user_longitude") Double userLongitude,
@@ -51,4 +51,7 @@ hystrix.command.wallet.assetWithdrawForPlat.execution.isolation.thread.timeoutIn @@ -51,4 +51,7 @@ hystrix.command.wallet.assetWithdrawForPlat.execution.isolation.thread.timeoutIn
51 ufo.order.pay.transferWithWalletSwitch=false 51 ufo.order.pay.transferWithWalletSwitch=false
52 52
53 # 寄存转现货开关 53 # 寄存转现货开关
54 -ufo.deposit2Instock.close = true  
  54 +ufo.deposit2Instock.close = true
  55 +
  56 +#验签开关
  57 +gateway.signature.isVerifyAllMethod = true