shop code

This commit is contained in:
Nweni
2019-12-04 13:57:26 +06:30
parent 7afddcdf2b
commit 8b5d28524e
18 changed files with 85 additions and 126 deletions

View File

@@ -1,7 +1,11 @@
if @result && @cus
if @result
json.status true
json.sent_pin true
elsif @cus
json.status true
json.sent_pin false
json.customer_id @cus.id
else
json.status false
json.message "Customer Not Found"
json.message "Phone number invalid"
end