|
@@ -72,20 +72,22 @@ export default defineComponent({
|
|
|
if (this.code.length < 4) {
|
|
|
return;
|
|
|
}
|
|
|
- await request.post(this.isSuffix + `/code/verifyImageCode`, {
|
|
|
- requestType: 'form',
|
|
|
- hideLoading: true,
|
|
|
- data: {
|
|
|
- phone: this.phone,
|
|
|
- code: this.code
|
|
|
- }
|
|
|
- });
|
|
|
+ // await request.post(this.isSuffix + `/code/verifyImageCode`, {
|
|
|
+ // requestType: 'form',
|
|
|
+ // hideLoading: true,
|
|
|
+ // data: {
|
|
|
+ // phone: this.phone,
|
|
|
+ // code: this.code
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+
|
|
|
await request.post(`/api-website/code/sendSmsCode`, {
|
|
|
requestType: 'form',
|
|
|
hideLoading: true,
|
|
|
data: {
|
|
|
mobile: this.phone,
|
|
|
- type: this.type
|
|
|
+ type: this.type,
|
|
|
+ code: this.code
|
|
|
}
|
|
|
});
|
|
|
setTimeout(() => {
|