解决发送短信的问题
parent
9dfc3a1eba
commit
3efefc4c02
|
@ -17,10 +17,10 @@ export default {
|
|||
* @description api请求基础路径
|
||||
*/
|
||||
api_dev: {
|
||||
common: 'http://127.0.0.1:8890',
|
||||
buyer: 'http://127.0.0.1:8888',
|
||||
seller: 'http://127.0.0.1:8889',
|
||||
manager: 'http://127.0.0.1:8887'
|
||||
common: 'http://192.168.0.103:8890',
|
||||
buyer: 'https://buyer-api.pickmall.cn',
|
||||
seller: 'https://store-api.pickmall.cn',
|
||||
manager: 'http://192.168.0.103:8887'
|
||||
},
|
||||
api_prod: {
|
||||
common: 'https://common-api.pickmall.cn',
|
||||
|
|
|
@ -710,7 +710,7 @@ export default {
|
|||
//发送短信
|
||||
sendSms() {
|
||||
this.$refs.smsForm.validate((valid) => {
|
||||
const mobile = JSON.stringify(this.alreadyCheck);
|
||||
const mobile = this.alreadyCheck;
|
||||
this.smsForm.mobile = mobile;
|
||||
if (valid) {
|
||||
API_Setting.sendSms(this.smsForm).then((res) => {
|
||||
|
|
Loading…
Reference in New Issue