You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
781 B
20 lines
781 B
/**
|
|
* Copyright © 2020-present LiuDanYang. All rights Reserved.
|
|
*/
|
|
import { mGet, mPost } from "./request"
|
|
const app = getApp()
|
|
|
|
const zconfig = {
|
|
baseUrl: app.release ? `https://api-client-ztb.qniao.cn` : `https://api-client-ztb-dev.qniao.cn`
|
|
}
|
|
// *******************************************************************账户业务***********************************************************
|
|
// /authorize/get/product-line-token/by/login-token通过登录token获取产品线token
|
|
const loginToken = (params) => mPost(`/recycle-user-center/authorize/get/product-line-token/by/login-token`, params, zconfig)
|
|
///user/get/base-info基本信息
|
|
const getBaseInfo = () => mGet(`/recycle-user-center/user/get/base-info`, null, zconfig)
|
|
|
|
export {
|
|
zconfig,
|
|
loginToken,
|
|
getBaseInfo
|
|
}
|