| Line 4... |
Line 4... |
| 4 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
4 |
SkuDiscountInfo, SkuSchemeDetails, Deals, MasterData, LiveData, CashBack, \
|
| 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, AffiliatePayout
|
| 10 |
import falcon
|
10 |
import falcon
|
| 11 |
|
11 |
|
| 12 |
|
12 |
|
| 13 |
wsgi_app = api = falcon.API()
|
13 |
wsgi_app = api = falcon.API()
|
| 14 |
|
14 |
|
| Line 53... |
Line 53... |
| 53 |
searchUser = SearchUser()
|
53 |
searchUser = SearchUser()
|
| 54 |
staticDeals = StaticDeals()
|
54 |
staticDeals = StaticDeals()
|
| 55 |
dealNotification = DealNotification()
|
55 |
dealNotification = DealNotification()
|
| 56 |
dealPoints = DealPoints()
|
56 |
dealPoints = DealPoints()
|
| 57 |
appAffiliates = AppAffiliates()
|
57 |
appAffiliates = AppAffiliates()
|
| - |
|
58 |
affiliatePayout = AffiliatePayout()
|
| 58 |
|
59 |
|
| 59 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
60 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
| 60 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
61 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
| 61 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
62 |
api.add_route('/discountInfo/addSkuSchemeDetails',skuSchemeDetails)
|
| 62 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
63 |
api.add_route('/discountInfo/getAllSkuSchemeDetails',skuSchemeDetails)
|
| Line 113... |
Line 114... |
| 113 |
api.add_route('/searchRetailer/{agentId}/{searchType}', searchUser)
|
114 |
api.add_route('/searchRetailer/{agentId}/{searchType}', searchUser)
|
| 114 |
api.add_route('/getStaticDeals/',staticDeals)
|
115 |
api.add_route('/getStaticDeals/',staticDeals)
|
| 115 |
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
|
116 |
api.add_route('/getDealsForNotification/{skuBundleIds}',dealNotification)
|
| 116 |
api.add_route('/dealPoints/addDealPoints', dealPoints)
|
117 |
api.add_route('/dealPoints/addDealPoints', dealPoints)
|
| 117 |
api.add_route('/dealPoints/getDealPoints', dealPoints)
|
118 |
api.add_route('/dealPoints/getDealPoints', dealPoints)
|
| 118 |
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
|
- |
|
| 119 |
|
119 |
api.add_route('/appAffiliates/generateRedirectUrl/{retailerId}/{appId}',appAffiliates)
|
| - |
|
120 |
api.add_route('/affiliatePayout/',affiliatePayout)
|
| - |
|
121 |
|
| 120 |
|
122 |
|