Subversion Repositories SmartDukaan

Rev

Rev 16555 | Rev 16560 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16555 Rev 16557
Line 1279... Line 1279...
1279
        retailerId = int(retailerId)
1279
        retailerId = int(retailerId)
1280
        appId = int(appId)
1280
        appId = int(appId)
1281
        call_back = req.get_param("callback")
1281
        call_back = req.get_param("callback")
1282
        result = Mongo.generateRedirectUrl(retailerId, appId)
1282
        result = Mongo.generateRedirectUrl(retailerId, appId)
1283
        resp.body = call_back+'('+str(result)+')'
1283
        resp.body = call_back+'('+str(result)+')'
-
 
1284
 
-
 
1285
class AffiliatePayout():
-
 
1286
    def on_get(self, req, resp):
-
 
1287
        payout = req.get_param("payout")
-
 
1288
        transaction_id = req.get_param("transaction_id")
-
 
1289
        result = Mongo.addPayout(payout, transaction_id)
-
 
1290
        resp.body = str(result)
-
 
1291
    
1284
        
1292
        
1285
 
1293
 
1286
def main():
1294
def main():
1287
    #tagActivatedReatilers()
1295
    #tagActivatedReatilers()
1288
    a = RetailerDetail()
1296
    a = RetailerDetail()