import request from '@/common/request.js'


// 订单列表
export function UpdatePwd(data) {
	return request({
		url: '/api/system/user/profile/updatePwd?oldPassword=' + data.oldPassword + '&newPassword=' + data
			.newPassword,
		method: 'put',
		data: data
	})
}


// 登出
export function logout() {
  return request({
    url: '/api/auth/logout',
    method: 'delete'
  })
}

// 解除绑定
export function unbind() {
  return request({
    url: '/api/auth/wxUnbind',
    method: 'post'
  })
}