...
|
...
|
@@ -12,7 +12,7 @@ export default class UserService { |
|
|
async overview(brandId) {
|
|
|
let dateId = moment().format('YYYYMMDD'); //20160524
|
|
|
return await this.api.get({
|
|
|
url: '/gateway',
|
|
|
url: '',
|
|
|
body: {
|
|
|
method: 'app.shops.shopbusinessoverview',
|
|
|
brandId,
|
...
|
...
|
@@ -30,7 +30,7 @@ export default class UserService { |
|
|
async brandRank(brandId) {
|
|
|
let dateId = moment().format('YYYYMMDD'); //20160524
|
|
|
return await this.api.get({
|
|
|
url: '/gateway',
|
|
|
url: '',
|
|
|
body: {
|
|
|
method: 'app.shops.shopbrandrank',
|
|
|
brandId,
|
...
|
...
|
@@ -47,7 +47,7 @@ export default class UserService { |
|
|
|
|
|
async accountSettlementData(params) {
|
|
|
return await this.api.get({
|
|
|
url:'/gateway',
|
|
|
url:'',
|
|
|
body: {
|
|
|
method: 'app.shops.balance',
|
|
|
...params,
|
...
|
...
|
@@ -64,7 +64,7 @@ export default class UserService { |
|
|
async saleStats(params) {
|
|
|
|
|
|
return await this.api.get({
|
|
|
url:'/gateway',
|
|
|
url:'',
|
|
|
body: {
|
|
|
method: 'app.shops.sales',
|
|
|
...params,
|
...
|
...
|
@@ -80,7 +80,7 @@ export default class UserService { |
|
|
|
|
|
async refoundStats(params) {
|
|
|
return await this.api.get({
|
|
|
url:'/gateway',
|
|
|
url:'',
|
|
|
body: {
|
|
|
method: 'app.shops.refund',
|
|
|
...params,
|
...
|
...
|
|