解决发送短信的问题

master
lemon橪 2021-05-18 18:02:25 +08:00
parent 9dfc3a1eba
commit 3efefc4c02
2 changed files with 5 additions and 5 deletions

View File

@ -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',

View File

@ -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) => {