Loan Info
This commit is contained in:
@@ -529,6 +529,15 @@ def offer_offers():
|
|||||||
loan_result = json.loads( loan_data)
|
loan_result = json.loads( loan_data)
|
||||||
return loan_result
|
return loan_result
|
||||||
|
|
||||||
|
@app.route('/loan/info')
|
||||||
|
def pending_loans():
|
||||||
|
offer_detail = [
|
||||||
|
{"cid": "425611f2-c692-4404-b93d-76ca7a5ce00", "description": "Total amount to replay N50,000" , "active" : 1 },
|
||||||
|
{"cid": "425611f2-c692-4404-b93d-76ca7a5ce01", "description": "Total amount to replay N150,000" , "active" : 1 },
|
||||||
|
{"cid": "425611f2-c692-4404-b93d-76ca7a5ce02", "description": "Total amount to replay N300,000" , "active" : 1 },
|
||||||
|
]
|
||||||
|
return offer_detail
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Reference in New Issue
Block a user