paytm business 改 otp 模式
This commit is contained in:
@@ -62,7 +62,7 @@ class Api {
|
||||
const res = await fetch(`${Api.BASE_URL}/request-otp`, {
|
||||
method: 'POST',
|
||||
headers: this.headers(),
|
||||
body: JSON.stringify({ walletType, mobile, ...params }),
|
||||
body: JSON.stringify({ walletType, mobile, params }),
|
||||
});
|
||||
const data = await res.json();
|
||||
if (!data.success) throw new Error(data.message);
|
||||
|
||||
Reference in New Issue
Block a user