foodcourt

This commit is contained in:
Myat Zin Wai Maw
2019-12-17 13:49:15 +06:30
parent ce79038668
commit 4d0f13106d
11 changed files with 53 additions and 46 deletions

View File

@@ -5,7 +5,7 @@ class Api::VerificationsController < Api::ApiController
#TODO - user generate
cus = Customer.new
@cus = cus.draft_customer(phone_number, rand(1000..9999))
@cus = cus.draft_customer(params, rand(1000..9999))
if @cus.verify_status == false
VerifyNumber.send_message(phone_number, @cus.pin_code)
@result = true