| Line 5... |
Line 5... |
| 5 |
DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
|
5 |
DealSheet, DealerPrice, ResetCache, UserDeals, CommonUpdate, ImgSrc, \
|
| 6 |
NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
|
6 |
NegativeDeals, ManualDeals, CommonDelete, SearchProduct, FeaturedDeals, \
|
| 7 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
|
7 |
CommonSearch, CricScore, Notification, DealBrands, RetailerDetail, DealRank, \
|
| 8 |
Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
|
8 |
Login, AddContactToRetailer, RetailerActivation, SearchUser, StaticDeals, \
|
| 9 |
AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
|
9 |
AddAddressToRetailer, DealNotification, DealPoints, AppAffiliates, \
|
| 10 |
AffiliatePayout, OrderedOffers
|
10 |
AffiliatePayout, OrderedOffers, AppOffers
|
| 11 |
import falcon
|
11 |
import falcon
|
| 12 |
|
12 |
|
| 13 |
|
13 |
|
| 14 |
wsgi_app = api = falcon.API()
|
14 |
wsgi_app = api = falcon.API()
|
| 15 |
|
15 |
|
| Line 56... |
Line 56... |
| 56 |
staticDeals = StaticDeals()
|
56 |
staticDeals = StaticDeals()
|
| 57 |
dealNotification = DealNotification()
|
57 |
dealNotification = DealNotification()
|
| 58 |
dealPoints = DealPoints()
|
58 |
dealPoints = DealPoints()
|
| 59 |
appAffiliates = AppAffiliates()
|
59 |
appAffiliates = AppAffiliates()
|
| 60 |
affiliatePayout = AffiliatePayout()
|
60 |
affiliatePayout = AffiliatePayout()
|
| - |
|
61 |
appOffers = AppOffers()
|
| 61 |
|
62 |
|
| 62 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
63 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
| 63 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
64 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
| 64 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
65 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
| 65 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
66 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
| Line 118... |
Line 119... |
| 118 |
api.add_route('/getStaticDeals/',staticDeals)
|
119 |
api.add_route('/getStaticDeals/',staticDeals)
|
| 119 |
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
|
120 |
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
|
| 120 |
api.add_route('/dealPoints/addDealPoints', dealPoints)
|
121 |
api.add_route('/dealPoints/addDealPoints', dealPoints)
|
| 121 |
api.add_route('/dealPoints/getDealPoints', dealPoints)
|
122 |
api.add_route('/dealPoints/getDealPoints', dealPoints)
|
| 122 |
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
|
123 |
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
|
| 123 |
api.add_route('/affiliatePayout/',affiliatePayout)
|
- |
|
| 124 |
|
124 |
api.add_route('/affiliatePayout/',affiliatePayout)
|
| - |
|
125 |
api.add_route('/appOffers/{retailerId}',appOffers)
|
| - |
|
126 |
|
| 125 |
|
127 |
|