Merge branch 'master' of https://github.com/wanggeng888/xz_mini
This commit is contained in:
commit
fab71abd17
@ -33,7 +33,7 @@ Page({
|
||||
success: function (res) {
|
||||
var avatar = res.tempFilePaths[0];
|
||||
console.log(avatar)
|
||||
app.restAjax.post(app.restAjax.path('{usercenterUrl}/app/file/uploadimage', [app.usercenterUrl]), avatar, 'image', {
|
||||
app.restAjax.file(app.restAjax.path('{usercenterUrl}/app/file/uploadimage', [app.usercenterUrl]), avatar, 'image', {
|
||||
headers: {
|
||||
token: self.data.token
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user