Authored by mali

开启验签

... ... @@ -775,6 +775,7 @@ public class ProductController {
* @return
*/
@IgnoreSession
@IgnoreSignature
@RequestMapping(params = "method=ufo.product.skup.detail")
public ApiResponse querySkupDetailBySkup(@RequestParam(value = "skup") Integer skup,
@RequestParam(value = "store_id", required = false) Integer storeId) {
... ... @@ -871,6 +872,7 @@ public class ProductController {
@ApiOperation(name = "ufo.product.inStockNew.briefData", desc = "现货-商品详情(砍价)")
@IgnoreSession
@RequestMapping(params = "method=ufo.product.inStockNew.briefData")
@IgnoreSignature
@Cachable(expire = 120)
public ApiResponse queryProductInStockNewBriefById(
@RequestParam(value = "product_id") Integer productId) {
... ...
... ... @@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject;
import com.yohobuy.ufo.model.response.store.StoreInfoBo;
import com.yohoufo.common.ApiResponse;
import com.yohoufo.common.annotation.IgnoreSession;
import com.yohoufo.common.annotation.IgnoreSignature;
import com.yohoufo.common.exception.UfoServiceException;
import com.yohoufo.product.service.StoreService;
import org.slf4j.Logger;
... ... @@ -22,6 +23,7 @@ public class StoreController {
private StoreService storeService;
@IgnoreSession
@IgnoreSignature
@RequestMapping(params = "method=ufo.store.queryStoreInfoById")
public ApiResponse queryStoreInfoById(@RequestParam("storeId") Integer storeId) {
if(storeId == null || storeId < 1) {
... ... @@ -39,6 +41,7 @@ public class StoreController {
}
@IgnoreSession
@IgnoreSignature
@RequestMapping(params = "method=ufo.store.isLocationInStore")
public ApiResponse isLocationInStore(@RequestParam("store_id") Integer storeId,
@RequestParam("user_longitude") Double userLongitude,
... ...
... ... @@ -52,3 +52,6 @@ ufo.order.pay.transferWithWalletSwitch=false
# 寄存转现货开关
ufo.deposit2Instock.close = true
#验签开关
gateway.signature.isVerifyAllMethod = true
\ No newline at end of file
... ...