change domain to localhost
This commit is contained in:
parent
dd1f187118
commit
bbefa2455c
|
|
@ -59,7 +59,7 @@ class RequestController extends Controller
|
|||
], 400);
|
||||
}
|
||||
|
||||
$loginResponse = Http::post('https://tmex.gov.tm/api/login', [
|
||||
$loginResponse = Http::post('http://127.0.0.1:8000/api/login', [
|
||||
'username' => $input['phone'],
|
||||
'password' => $input['password'],
|
||||
'dial_code' => '+' . $input['dial_code']
|
||||
|
|
@ -91,7 +91,7 @@ class RequestController extends Controller
|
|||
}
|
||||
|
||||
// try to withdraw fee from the balance for creating a request
|
||||
$balanceResponse = Http::post('https://tmex.gov.tm/api/v1/withdraw-from-balance?token=' . $loginResponse['token'], [
|
||||
$balanceResponse = Http::post('http://127.0.0.1:8000/api/v1/withdraw-from-balance?token=' . $loginResponse['token'], [
|
||||
// 'token' => $loginResponse['token'],
|
||||
'total_price' => $input['totalPrice'], // USD or TMT
|
||||
'currency' => $input['currency'],
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -49,11 +49,11 @@
|
|||
<!-- Warning text -->
|
||||
<div class="w-4/12 warning-text not-registered" v-show="warningMessages.notRegistered">
|
||||
<p>You have to be resgistered and have enough money on your balance to make a request.</p>
|
||||
<p>Not Registered? <a href="https://tmex.gov.tm#register" class="font-bold text-primary">Click here</a></p>
|
||||
<p>Not Registered? <a href="http://birzha#register" class="font-bold text-primary">Click here</a></p>
|
||||
</div>
|
||||
<div class="w-4/12 warning-text low-balance" v-show="warningMessages.lowBalance">
|
||||
<p>Low balance. Please fill up your balance.</p>
|
||||
<p>Not Registered? <a href="https://tmex.gov.tm/tm/balance" class="font-bold text-primary">Click here</a></p>
|
||||
<p>Not Registered? <a href="http://birzha/tm/balance" class="font-bold text-primary">Click here</a></p>
|
||||
</div>
|
||||
<!-- Warning text end -->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue