| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- // +----------------------------------------------------------------------
- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
- // +----------------------------------------------------------------------
- // | Author: CRMEB Team <admin@crmeb.com>
- // +----------------------------------------------------------------------
- import request from '@/libs/request';
- /**
- * @description 商品统计 商品概括
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticBasicApi(params) {
- return request({
- url: '/statistic/product/get_basic',
- method: 'get',
- params,
- });
- }
- /**
- * @description 商品统计 商品概括 统计图
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticTrendApi(params) {
- return request({
- url: '/statistic/product/get_trend',
- method: 'get',
- params,
- });
- }
- /**
- * @description 商品统计 商品排行
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticProductListApi(params) {
- return request({
- url: '/statistic/product/get_product_ranking',
- method: 'get',
- params,
- });
- }
- /**
- * @description 商品统计 导出
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticProductExcel(params) {
- return request({
- url: '/statistic/product/get_excel',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 用户概括
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticUserBasicApi(params) {
- return request({
- url: '/statistic/user/get_basic',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 用户趋势
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticUserTrendApi(params) {
- return request({
- url: '/statistic/user/get_trend',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 微信用户概括
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticWechatApi(params) {
- return request({
- url: '/statistic/user/get_wechat',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 微信用户趋势
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticWechatTrendApi(params) {
- return request({
- url: '/statistic/user/get_wechat_trend',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 微信用户地域
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticWechatRegionApi(params) {
- return request({
- url: '/statistic/user/get_region',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 用户性别
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticWechatSexApi(params) {
- return request({
- url: '/statistic/user/get_sex',
- method: 'get',
- params,
- });
- }
- /**
- * @description 用户统计 导出
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticUserExcel(params) {
- return request({
- url: '/statistic/user/get_excel',
- method: 'get',
- params,
- });
- }
- /**
- * @description 交易数据 今天
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticTopTradeApi(params) {
- return request({
- url: '/statistic/trade/top_trade',
- method: 'get',
- params,
- });
- }
- /**
- * @description 交易概括
- * @param {Object} param data {Object} 传值参数
- */
- export function statisticBottomTradeApi(params) {
- return request({
- url: '/statistic/trade/bottom_trade',
- method: 'get',
- params,
- });
- }
- /**
- * @description 订单统计数量
- * @param {Object} param data {Object} 传值参数
- */
- export function getBasic(params) {
- return request({
- url: '/statistic/order/get_basic',
- method: 'get',
- params,
- });
- }
- /**
- * @description 订单统计折线图
- * @param {Object} param data {Object} 传值参数
- */
- export function getTrend(params) {
- return request({
- url: '/statistic/order/get_trend',
- method: 'get',
- params,
- });
- }
- /**
- * @description 订单来源分析
- * @param {Object} param data {Object} 传值参数
- */
- export function getChannel(params) {
- return request({
- url: '/statistic/order/get_channel',
- method: 'get',
- params,
- });
- }
- /**
- * @description 订单类型分析
- * @param {Object} param data {Object} 传值参数
- */
- export function getType(params) {
- return request({
- url: '/statistic/order/get_type',
- method: 'get',
- params,
- });
- }
- /**
- * @description 账单记录列表
- * @param {Object} param data {Object} 传值参数
- */
- export function getRecord(params) {
- return request({
- url: '/statistic/flow/get_record',
- method: 'get',
- params,
- });
- }
- /**
- * @description 余额统计数量
- * @param {Object} param data {Object} 传值参数
- */
- export function getBalanceBasic(params) {
- return request({
- url: '/statistic/balance/get_basic',
- method: 'get',
- params,
- });
- }
- /**
- * @description 余额统计折线图
- * @param {Object} param data {Object} 传值参数
- */
- export function getBalanceTrend(params) {
- return request({
- url: '/statistic/balance/get_trend',
- method: 'get',
- params,
- });
- }
- /**
- * @description 余额来源分析
- * @param {Object} param data {Object} 传值参数
- */
- export function getBalanceChannel(params) {
- return request({
- url: '/statistic/balance/get_channel',
- method: 'get',
- params,
- });
- }
- /**
- * @description 余额类型分析
- * @param {Object} param data {Object} 传值参数
- */
- export function getBalanceType(params) {
- return request({
- url: '/statistic/balance/get_type',
- method: 'get',
- params,
- });
- }
- /**
- * @description 渠道码统计
- * @param {Object} param data {Object} 传值参数
- */
- export function wechatQrcodeStatistic(id, params) {
- return request({
- url: `app/wechat_qrcode/statistic/${id}`,
- method: 'get',
- params,
- });
- }
|