| Line 46... |
Line 46... |
| 46 |
notification = Notification()
|
46 |
notification = Notification()
|
| 47 |
dealBrands = DealBrands()
|
47 |
dealBrands = DealBrands()
|
| 48 |
dealRank = DealRank()
|
48 |
dealRank = DealRank()
|
| 49 |
login = Login()
|
49 |
login = Login()
|
| 50 |
addContactToRetailer= AddContactToRetailer()
|
50 |
addContactToRetailer= AddContactToRetailer()
|
| - |
|
51 |
addAddressToRetailer= AddAddressToRetailer()
|
| 51 |
searchUser = SearchUser()
|
52 |
searchUser = SearchUser()
|
| 52 |
staticDeals = StaticDeals()
|
53 |
staticDeals = StaticDeals()
|
| 53 |
|
54 |
|
| 54 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
55 |
api.add_route('/discountInfo/getAllCategoryDiscount', categoryDiscountInfo)
|
| 55 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
56 |
api.add_route('/discountInfo/addCategoryDiscount', categoryDiscountInfo)
|
| Line 101... |
Line 102... |
| 101 |
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
|
102 |
api.add_route('/getDtrLink/{agentId}/{callType}/{retailerId}', reatiler)
|
| 102 |
api.add_route('/deals/getRank/', dealRank)
|
103 |
api.add_route('/deals/getRank/', dealRank)
|
| 103 |
api.add_route('/agent/logout/{agentId}/{role}',login)
|
104 |
api.add_route('/agent/logout/{agentId}/{role}',login)
|
| 104 |
api.add_route('/agent/login',login)
|
105 |
api.add_route('/agent/login',login)
|
| 105 |
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
|
106 |
api.add_route('/addContactToRetailer/{agentId}',addContactToRetailer)
|
| - |
|
107 |
api.add_route('/addAddressToRetailer/{agentId}',addAddressToRetailer)
|
| 106 |
api.add_route('/retailerActivated/{userId}', retailerActivation)
|
108 |
api.add_route('/retailerActivated/{userId}', retailerActivation)
|
| 107 |
api.add_route('/searchRetailer/{agentId}/{searchType}', searchUser)
|
109 |
api.add_route('/searchRetailer/{agentId}/{searchType}', searchUser)
|
| 108 |
api.add_route('/getStaticDeals/',staticDeals)
|
110 |
api.add_route('/getStaticDeals/',staticDeals)
|
| 109 |
|
111 |
|