Browse Source

切换商城对接中

devlop
buffeyu 4 years ago
parent
commit
765f2b215b
2 changed files with 12 additions and 2 deletions
  1. 10
      apis/add-paper.js
  2. 4
      pages/switching-mall/index.vue

10
apis/add-paper.js

@ -44,3 +44,13 @@ export function productStatus(data) {
data
})
}
/**
* 获取我店铺列表
* swagger:http://api-ops-yyt-test.qniao.cn/base-paper-trading/swagger-ui/index.html?urls.primaryName=CustomerApi#/店铺/getMyStoreListUsingGET
*/
export function getStoreList(data) {
return http.get({
url: '/base-paper-trading/get/my/store-list',
data
})
}

4
pages/switching-mall/index.vue

@ -27,7 +27,7 @@
<script>
import { back, go2 } from '@/utils/hook.js'
import { getBaseInfo } from '@/apis/commonApi.js'
import { getStoreList } from '@/apis/add-paper.js'
export default {
data() {
return {
@ -42,7 +42,7 @@ export default {
methods: {
back,
queryData() {
getBaseInfo({}, true).then((res) => {
getStoreList().then((res) => {
console.log('==', res)
this.enterpriseList = res.enterpriseList
})

Loading…
Cancel
Save