nginx_limit_api.yml 13.4 KB
# switch  rate limit ,true:open ,false:close
open_limit_flow: true

# default rate limit value,rate for two seconds
default_rate_limit: 200

# frist variable: rate in  two seconds ,second variable: error code, third variable:error message
api_rate_limit:

    - app.Shopping.submit: "55,9999992,人太多啦,稍后再试!"
    - app.Buynow.submit: "60,9999992,人太多啦,稍后再试!"
    - app.shopping.depositSubmit: "60,9999992,人太多啦,稍后再试!"
    - app.Shopping.deposit.submit: "60,9999992,人太多啦,稍后再试!"
    - app.Seckill.submit: "60,9999992,人太多啦,稍后再试!"
    - app.GroupBuy.submit: "60,9999992,人太多啦,稍后再试!"
    - app.GroupBuy.payment: "60,9999992,人太多啦,稍后再试!"    
    - app.Shopping.easySubmit: "60,9999992,人太多啦,稍后再试!"
    
    - app.Shopping.queryPromotionGifts: "110"
    - app.Shopping.selectedAndQryCart: "130,9999992,人太多啦,稍后再试!"
    - app.Shopping.removeAndQryCart: "130"
    - app.Shopping.add: "140,9999992,人太多啦,稍后再试!"


    - app.Shopping.listCoupon: "125"
    - app.Shopping.listGiftCard: "150"
    - app.yohocoin.total: "90"
    - app.yohocoin.subtract: "90"
    - app.yohocoin.add: "90"
    - app.yohocoin.lists: "90"
    - order.paymentBuyNow: "60"
    - resources.simple.pice: "90"
    - app.product.promotion: "60"
    - app.coupons.queryProdPageCoupons: "60"
    - h5.product.intro: "90"
    - web.brand.banner: "90"
    - app.product.queryShopsInfoById: "60"
    - app.product.queryBuyLimit: "70"
    - app.product.intro: "90"
    - app.product.supportService: "90"
    - app.shop.queryShopsByBrandId: "60"
    - shop.coupons.list: "90"
    - app.shopsdecorator.getList: "90"
    - app.shops.getIntro: "90"
    - app.shop.banner: "90"
    - web.productBanner.data: "90"
    - web.productModelcard.list: "90"
    - web.productComfort.data: "90"
    - web.productModelTry.data: "90"
    - app.passport.profile: "100"
    - app.activity.getlist: "250"
    - app.promotion.getCoupon: "60,9999992,人太多啦,稍后再试!"
    - app.coupons.couponSend: "60,9999992,人太多啦,稍后再试!"
    - app.coupons.sendCouponByConfig: "125,9999992,人太多啦,稍后再试!"
    - app.promotion.getACoupon: "125,9999992,人太多啦,稍后再试!"
    - app.coupons.couponsSend: "60,9999992,人太多啦,稍后再试!"
    - app.promotion.queryCouponCenter: "125,9999992,人太多啦,稍后再试!"
    - app.search.li: "250"
    - app.search.sales: "250"
    - app.search.word: "250"
    - app.limitProduct.hotLimitProduct: "90"
    - app.limitProduct.soonToSaleLimitProduct: "90"
    - app.limitProduct.alreadySaleLimitProduct: "90"
    - app.limitProduct.limitProductHtml: "90"
    - app.limitProduct.limitProductDetail: "90"
    - app.limitProduct.productStatus: "90"
    - app.Shopping.easyPayment: "125,9999992,人太多啦,稍后再试!"
    - app.Shopping.easyCompute: "125,9999992,人太多啦,稍后再试!"
    - web.regular.groupsort: "90"
    - web.search.search: "90"
    - web.search.shopListInfo: "90"
    - web.brand.byDomain: "90"
    - web.search.newshelve: "125"
    - web.search.newShelveBatch: "90"
    - web.regular.groupsort.sale: "90"
    - app.Seckill.payment: "90,9999992,活动太火爆了,商品已被秒完!"
    - app.Seckill.compute: "90,9999992,活动太火爆了,商品已被秒完!"
    - app.seckill.data: "125,9999992,活动太火爆了,商品已被秒完!"
    - app.product.seckill.data: "1150,9999992,活动太火爆了,商品已被秒完!"
    - app.Seckill.countUsableCoupon: "250"
    - app.Seckill.countUsableCoupon: "125"
    - app.seckill.queryActivity: "60,9999992,人太多啦,稍后再试!"
    - app.seckill.queryProductList: "60,9999992,人太多啦,稍后再试!"
    - app.shopping.submitTicket: "125,9999992,人太多啦,稍后再试!"
    - app.shopping.ticket: "125,9999992,人太多啦,稍后再试!"
    - app.Shopping.compute: "250,9999992,人太多啦,稍后再试!"
    - app.Shopping.payment: "250,9999992,人太多啦,稍后再试!"
    - app.Shopping.enhancedPayment: "250,9999992,人太多啦,稍后再试!"
    - app.Shopping.selectCoupon: "250,9999992,人太多啦,稍后再试!"
    - app.Shopping.useCoupon: "250,9999992,人太多啦,稍后再试!"
    - app.Shopping.countUsableCoupon: "250"
    - app.Shopping.countUsableGiftCard: "250"
    - app.product.seckill.promotion: "60"
    - app.product.seckill.intro: "60"
    - app.consult.seckill.common: "60"
    - app.shop.seckill.queryShopsByBrandId: "60"
    - app.consult.seckill.lastTwo: "60"
    - show.seckill.recentShareOrderByProductId: "60"
    - app.depositAdvance.data: "90"
    - app.limitTimeAdvance.data: "90"
    - app.product.sizehelper.show: "90"
    - app.product.sizehelper.detail: "90"
    - app.show.instalment: "90"
    - clear.productCache: "1250"
    - app.helper.getServiceOnline: "90"
    - app.msgsys.checkForceOpen: "60"
    - app.msgsys.addOpenCount: "60"
    - web.product.shopRecommend: "250"
    - app.coupons.queryUserCouponRemind: "125"
    - app.search.findLike: "250"
    - web.search.findLike: "250"
    - web.search.forseo: "250"
    - app.inbox.getAllInboxCatInfo: "250"
    - app.inbox.getlistnew: "250"
    - app.favorite.product: "125"
    - web.favorite.product: "125"
    - app.favorite.brand: "125"
    - app.coupons.total: "125"
    - app.coupons.get: "125"
    - app.coupons.getCouponNums: "125"
    - app.promotion.couponStatus: "125"
    - app.activity.friendhelp: "90,9999992,人太多啦,稍后再试!"
    - user.instalment.activate: "250"
    - user.instalment.getStatus: "125"
    - user.instalment.getBankCards: "125"
    - user.instalment.queryCreditLimit: "125,9999992,人太多啦,稍后再试!"
    - user.instalment.getSnsCheckCode: "125"
    - user.instalment.getBankInfoByCardNo: "125"
    - user.instalment.getCardInfoById: "125"
    - app.search.instalment: "250"
    - app.promotion.instalment: "90"
    - app.order.queryAmtInfo: "125,9999992,人太多啦,稍后再试!"
    - app.order.queryAmtList: "125,9999992,人太多啦,稍后再试!"
    - app.order.queryRePayList: "125,9999992,人太多啦,稍后再试!"
    - app.instalment.condition: "125,9999992,人太多啦,稍后再试!"
    - app.instalment.pay: "125,9999992,人太多啦,稍后再试!"
    - app.instalment.prerepay: "125,9999992,人太多啦,稍后再试!"
    - app.instalment.confirmrepay: "125,9999992,人太多啦,稍后再试!"
    - app.Buynow.payment: "125,9999992,人太多啦,稍后再试!"
    - app.Buynow.countUsableCoupon: "125"
    - app.Buynow.enhancedPayment: "125,9999992,人太多啦,稍后再试!"
    - app.Buynow.selectCoupon: "125"
    - app.Buynow.listCoupon: "125"
    - app.Buynow.compute: "125,9999992,人太多啦,稍后再试!"
    - app.Buynow.useCoupon: "125"
    - app.Buynow.usePromotionCode: "125"
    - app.SpaceOrders.getInstallment: "125"
    - app.SpaceOrders.installDetail: "125"
    - user.instalment.validateSnsCheckCode: "125"
    - user.instalment.reSendSms4FcpService: "125"
    - user.instalment.bindingCards: "60"
    - app.search.promotion: "90"
    - app.search.newPromotion: "250"
    - app.search.zq.filter: "250"
    - app.search.promotion.filter: "250"
    - app.search.coupon.filter: "250"
    - app.search.fuzzy.filter: "250"
    - app.search.category.filter: "250"
    - app.search.filter: "250"
    - app.search.breakSize.filter: "250"
    - app.search.pool.filter: "250"
    - app.search.shop.filter: "250"
    - app.search.good: "250"
    - app.search.fuzzy: "250"
    - app.search.category.productList: "90"
    - app.search.productList: "150"
    - app.search.recomandLi: "90"
    - app.search.shop.productList: "90"
    - app.search.promotion.productList: "125"
    - app.search.zq.productList: "125"
    - app.search.pool.productList: "125"
    - app.search.newProduct.shop: "125"
    - app.search.coupon.productList: "125"
    - app.resources.holidayGifConfig: "250"
    - app.passport.verify: "60"
    - app.passport.growthDetail: "250"
    - app.passport.growthMonth: "125"
    - app.passport.growthPageList: "125"
    - app.passport.vipIconList: "250"
    - app.invitecode.total: "250"
    - app.redpac.redpacNum: "250"
    - app.redpac.redpacDetails: "250"
    - app.redpac.redpacRainInfo: "250"
    - app.invitecode.userinfo: "125"
    - app.giftcard.cardNum: "250"
    - app.address.get: "150"
    - app.passport.getBirthDayImage: "125"
    - app.favorite.add: "125"
    - app.favorite.isFavorite: "90"
    - app.favorite.product: "125"
    - app.favorite.brand: "125"
    - app.browse.product: "125"
    - app.passport.vip: "250"
    - app.redpac.addRedpac: "125,9999992,人太多啦,稍后再试!"
    - /operations/api/v5/resource/get: "250"
    - /operations/api/v5/resource/home: "250,9999992"
    - /operations/api/v5/webshare/getShare: "250"
    - /operations/api/v5/entrance/getEntrance: "250"
    - /operations/api/v6/category/getCategory: "250"
    - /operations/api/v4/icon/getIcon: "250"
    - /guang/api/v1/article/getArticleNotice: "125"
    - /guang/api/v1/attention/getlist: "50"
    - /guang/api/v2/article/getList: "50"
    - /guang/api/v2/article/getSimpleArticleList: "50"
    - /guang/api/v2/article/getTagTop: "50"
    - /guang/api/v1/category/get: "50"
    - /guang/api/v1/article/getArticleNotice: "50"
    - /guang/api/v1/Favorite/getFavNumber: "150"
    - /guang/service/v2/article/getArticle: "50"
    - /guang/api/v2/article/getArticleBaseInfo: "50"
    - /guang/api/v1/share/guang: "50"
    - /guang/service/v2/article/getBrand: "50"
    - /guang/api/v1/comments/getList: "50"
    - /guang/service/v2/article/getOtherArticle: "50"
    - /guang/api/v2/article/getArticleByViewsNum: "50"
    - /guang/api/v2/article/getArticlePraiseAndFavor: "50"
    - /guang/service/v2/article/getArticleContent: "50"
    - /shops/service/v1/favorite/getUidBrandFav: "90"
    - /guang/api/v3/plustar/getlist: "50"
    - /guang/service/v1/article/getArticleByBrand: "90"
    - /wechat/miniapp/img-check.jpg: "90"
    - /payment/alipay_data: "800"
    - /payment/applepay_data: "800"
    - /payment/weixin_data: "800"
    - /payment/alipay_notify: "800"
    - /payment/weixin_notify: "800"
    - /payment/applepay_notify: "800"
    - /erp/sync/promotion/update: "90"
    - /erp/clear/batch/productPriceCache: "1250"
    - clear.productCache.batch: "12500"
    - miniappBrandM1: "60"
    - app.message.sendSms: "60"
    - miniappBrandM2: "60"
    ## 定金尾款支付
    - app.Shopping.depositTail.assets.payment: "125,9999992,人太多啦,稍后再试!"
    - app.Shopping.depositTail.assets.compute: "125,9999992,人太多啦,稍后再试!"
    - app.Shopping.depositTail.assets.countUsableCoupon: "125"
    - app.Shopping.depositTail.assets.selectCoupon: "125"
    - app.Shopping.depositTail.assets.useCoupon: "125,9999992,人太多啦,稍后再试!"
    - app.Shopping.depositTail.assets.submit: "90,9999992,人太多啦,稍后再试!"
    - app.Shopping.depositTail.assets.rollback: "90,9999992,人太多啦,稍后再试!"
    - app.cutdownprice.cut: "60"
    - app.resources.config.clientInitConfig: "500"
    - ufo.product.search.suggest: "600,99991,您的操作太频繁了!"
    - app.badge.queryBadgeInfoByUid: "125"
    - app.badge.signGetBadge: "125"
    - app.badge.checkSignStatus: "125"
    - app.badge.getCouponAndChangeStatus: "125"
    
    
    # app index
    - app.grass.getUnreadArticleTotal: "60"
    - app.inbox.getTotal: "60"
    - app.search.firstpage.productlist: "100"
    - app.sort.fromBigData: "80"
    - app.sort.brand.tab: "100"
    - /union/ActivateUnionRest/activateUnion: "125"
    - app.msgsys.getIosTokenByUid: "60"
    - app.union.shareOrder.queryUnionTypeByUid: "60"
    - app.msgsys.pushIosUser: "60"
    - app.msgsys.getIosUser: "60"
    - app.Msgsys.getAndroidUser: "60"
    - app.Msgsys.bindAndroidUser: "60"

    # my index
    - app.invitecode.my: "60"
    - app.favorite.getFavoriteCount: "80"
    - app.grass.userPublishedArticleList: "60"
    - app.grass.getGrassPubAndFavorNum: "60"
    - app.grass.getGrassUserBaseInfo: "60"
    - app.home.getInfoNum: "60"
    - ufo.seller.orderSummary: "60"
    - ufo.order.summary: "60"
    - ufo.deposit.queryUserStorageCount: "60"
    - ufo.wallet.queryUserWalletInfo: "60"

    # product index 
    - app.product.data: "125"
    - app.product.showRedPackage: "125"
    - app.favorite.isFavoriteNew: "60"
    - app.consult.lastTwo: "60"
    - show.recentShareOrderByProductId: "60"
    - app.consult.common: "70"
    - app.union.shareOrder.getShareCodeInfo: "60"
    - app.consult.like: "60"
    - app.consult.useful: "60"
    - app.product.shopPreference: "60"
    - app.product.preference: "60"
    - app.product.shopRecommend: "60"

    #  shopping cart
    - app.Shopping.queryCart: "125"
    - app.Shopping.queryCartCouponCenter: "130"
    - app.Shopping.count: "60"
    - app.product.recShopCart: "80"
    - app.home.newPreference: "130"
    - app.search.newLast7day: "150"
    - app.Shopping.increase: "60"
    - app.Shopping.decrease: "60"
    - app.Shopping.swap: "60"

    #  payment
    - app.activity.getInfoOfOrderShare: "60"
    
    #ufo grass
    - ufo.couponsInPrdDetail.list: "125"
    - ufo.couponTopListOfPrdDetail.list: "125"
    - ufo.product.sizeImages: "125"
    - ufo.product.search.common.list: "125"
    - ufo.product.vedioImage: "125"
    - ufo.tradeBills.applyCash: "125"
    - ufo.sellerOrder.computeWithCoupon: "125"
    - ufo.product.search.secondhand.filter: "125"
    - ufo.product.search.appraise.list: "125"
    - app.realNameAuth.idCardAuth: "125"
    - app.grass.simpleProductArticle: "125"
    - app.grass.productArticleList: "125"
    - app.grass.productArticleListOnlyImage: "125"
    - app.grass.channelArticleList: "125"