nginx_limit_api.yml 12.9 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: "100,9999992,人太多啦,稍后再试!"
    - app.Buynow.submit: "100,9999992,人太多啦,稍后再试!"
    - app.shopping.depositSubmit: "100,9999992,人太多啦,稍后再试!"
    - app.Shopping.deposit.submit: "100,9999992,人太多啦,稍后再试!"
    - app.Seckill.submit: "100,9999992,人太多啦,稍后再试!"
    - app.GroupBuy.submit: "100,9999992,人太多啦,稍后再试!"
    - app.GroupBuy.payment: "100,9999992,人太多啦,稍后再试!"    
    - app.Shopping.easySubmit: "100,9999992,人太多啦,稍后再试!"
    
    - app.Shopping.queryPromotionGifts: "150"
    - app.Shopping.selectedAndQryCart: "210,9999992,人太多啦,稍后再试!"
    - app.Shopping.removeAndQryCart: "210"
    - app.Shopping.add: "210,9999992,人太多啦,稍后再试!"

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

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

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

    #  shopping cart
    - app.Shopping.queryCart: "200"
    - app.Shopping.queryCartCouponCenter: "200"
    - app.Shopping.count: "99"
    - app.product.recShopCart: "99"
    - app.home.newPreference: "99"
    - app.search.newLast7day: "99"
    - app.Shopping.increase: "100"
    - app.Shopping.decrease: "100"
    - app.Shopping.swap: "100"

    #  payment
    - app.activity.getInfoOfOrderShare: "100"