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