微信小程序:
wx.request({
url: ‘https://m.sybmfw.cn/api/ys_user/’ + openid,
method:‘put’,
data:that.data.formdata,
header: {
’content-type’: ‘application/x-www-form-urlencoded’//必须用该类型
},
php laravel
return t h i s − > s u c c e s s ( this->success( this−>success(request->all());