12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- import request from '@/utils/request'
- // 修改用户信息
- export function userEdit(data) {
- return request({
- url: '/api/user/edit',
- method: 'post',
- data
- });
- }
- //退出登录
- export function logout(data) {
- return request({
- url: '/api/logout',
- method: 'get',
- data
- });
- }
- //修改密码
- export function registerReset(data) {
- return request({
- url: '/api/register/reset',
- method: 'post',
- data
- });
- }
- //绑定手机
- export function binding(data) {
- return request({
- url: '/api/binding',
- method: 'post',
- data
- });
- }
- // #ifdef APP-PLUS
- //苹果生成账户
- export function applelogin(data) {
- return request({
- url: '/api/applelogin',
- method: 'post',
- data
- });
- }
- // #endif
- export function realName(data) {
- return request({
- url: '/api/rname',
- method: 'post',
- data
- });
- }
- //是否设置过交易密码
- export function is_pas(data) {
- return request({
- url: '/api/is_pas',
- method: 'get',
- data
- });
- }
- //修改交易密码
- export function transaction(data) {
- return request({
- url: '/api/set_payment',
- method: 'post',
- data
- });
- }
- //实名认证获取验证码
- export function checkUser(data) {
- return request({
- url: '/api/user/check',
- method: 'post',
- data
- });
- }
- export function test(data) {
- return request({
- url: '/api/test',
- method: 'get',
- data
- });
- }
|