26 lines
564 B
JavaScript
Executable File
26 lines
564 B
JavaScript
Executable File
import request from '@/common/js/http'
|
|
|
|
/**
|
|
* 获取验证码
|
|
* @param captcha_id
|
|
* @returns {*}
|
|
*/
|
|
export function getCaptcha(captcha_id) {
|
|
return request.post('/storeapi/captcha/captcha', {data: {captcha_id}})
|
|
}
|
|
|
|
/**
|
|
* 登录
|
|
* @param {Object} params
|
|
*/
|
|
export function login(params) {
|
|
return request.post('/cashier/storeapi/login/login', {data: params})
|
|
}
|
|
|
|
/**
|
|
* 修改密码
|
|
* @param {Object} params
|
|
*/
|
|
export function modifyPassword(params) {
|
|
return request.post('/cashier/storeapi/user/modifypassword', {data: params})
|
|
} |