我在post请求的时候,console控制台提示我 URL 域名不合法,请在 mp 后台配置后重试 请问这个问题如何解决
RegisterName: function() {
console.log( name );
wx.request( {
url: '省略',
data: {
partnerId: partnerId
openId: openId,
mobile: phone,
birthday: birthday,
memberName: name
},
method: 'POST',
success: function( res ) {
var data = res.data;
}
});
}
相似问题