| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import { ResPage, StoreUser } from "@/api/interface/index";
- import { PORT_NONE } from "@/api/config/servicePort";
- import http from "@/api";
- //个人实名
- export const verifyIdInfo = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/merchantAuth/verifyIdInfo`, params);
- };
- //信息提交
- export const applyStore = params => {
- return http.post(PORT_NONE + `/storeManage/applyStore`, params);
- };
- //用户信息查询
- export const getMerchantByPhone = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/merchantUser/getMerchantByPhone`, params);
- };
- //通知列表
- export const getNoticeList = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/notice/getNoticeList`, params);
- };
- //通知列表 一键已读
- export const markAllNoticesAsRead = params => {
- return http.post(PORT_NONE + `/notice/markAllNoticesAsRead`, params);
- };
- //今日订单量
- export const getTodayOrderCount = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/storeManage/getTodayOrderCount`, params);
- };
- //今日预计收益
- export const getTodayIncome = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/storeManage/getTodayIncome`, params);
- };
- //验券
- export const verifyOrder = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/couponManage/verifyOrder`, params);
- };
- export const verifyCoupon = params => {
- return http.get<StoreUser.ResStoreUserList>(PORT_NONE + `/couponManage/verifyCoupon`, params);
- };
- //保存用户信息
- export const updateMerchantUserInfo = params => {
- return http.post(PORT_NONE + `/merchantUser/updateMerchantUserInfo`, params);
- };
- //财务 可提现金额
- export const getAccountBalance = params => {
- return http.post(PORT_NONE + `/incomeManage/getAccountBalance`, params);
- };
- export const getUserByPhone = params => {
- return http.get(PORT_NONE + `/merchantUser/getMerchantByPhone`, params);
- };
- export const getDetail = params => {
- return http.get(PORT_NONE + `/storeManage/getStoreDetail`, params);
- };
|