From 65a06b65baa028f0e015e3371b51afa21d69264b Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Sat, 18 Sep 2021 16:54:26 +0800 Subject: [PATCH] no message --- {utils => const}/area.js | 0 {utils => const}/city.js | 0 {utils => const}/region.js | 0 pages/adress/create/index.js | 2 +- pages/agent/address/index.js | 2 +- pages/goods/create/index.js | 2 +- pages/home/city-select/index.js | 2 +- pages/home/tab2/index.js | 2 +- pages/moment/theall/index.js | 2 +- pages/purchase/create/index.js | 2 +- pages/shop/create/index.js | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename {utils => const}/area.js (100%) rename {utils => const}/city.js (100%) rename {utils => const}/region.js (100%) diff --git a/utils/area.js b/const/area.js similarity index 100% rename from utils/area.js rename to const/area.js diff --git a/utils/city.js b/const/city.js similarity index 100% rename from utils/city.js rename to const/city.js diff --git a/utils/region.js b/const/region.js similarity index 100% rename from utils/region.js rename to const/region.js diff --git a/pages/adress/create/index.js b/pages/adress/create/index.js index 260ebf7..be3b603 100644 --- a/pages/adress/create/index.js +++ b/pages/adress/create/index.js @@ -1,7 +1,7 @@ // pages/shop/apply/index.js import { getAddressInfo, deleteAddress, createAddress, updateAddress } from "../../../api/ztb" const util = require('../../../utils/util') -import regions from '../../../utils/region' +import regions from '../../../const/region' const app = getApp() Page({ diff --git a/pages/agent/address/index.js b/pages/agent/address/index.js index e9132e1..bac7a87 100644 --- a/pages/agent/address/index.js +++ b/pages/agent/address/index.js @@ -1,7 +1,7 @@ // pages/shop/apply/index.js import { saveFactory } from "../../../api/ztb" const util = require('../../../utils/util') -import regions from '../../../utils/region' +import regions from '../../../const/region' const app = getApp() Page({ diff --git a/pages/goods/create/index.js b/pages/goods/create/index.js index fcb670e..90eb5cb 100644 --- a/pages/goods/create/index.js +++ b/pages/goods/create/index.js @@ -8,7 +8,7 @@ import { getDopantRate, getBiddingInterval } from "../../../api/ztb" -import regions from '../../../utils/region' +import regions from '../../../const/region' const math = require('../../../utils/math') const util = require('../../../utils/util') const event = require('../../../utils/event.js') diff --git a/pages/home/city-select/index.js b/pages/home/city-select/index.js index 749ca9c..b720f94 100644 --- a/pages/home/city-select/index.js +++ b/pages/home/city-select/index.js @@ -2,7 +2,7 @@ const util = require('../../../utils/util') const event = require('../../../utils/event') const storage = require('../../../utils/storage') -const city = require("../../../utils/city.js") +const city = require("../../../const/city.js") const app = getApp() var hotList = [] diff --git a/pages/home/tab2/index.js b/pages/home/tab2/index.js index a4ec8ac..2aa3f65 100644 --- a/pages/home/tab2/index.js +++ b/pages/home/tab2/index.js @@ -1,6 +1,6 @@ // pages/home/tab2/index.js import { updateUserInfo, getBaseInfo } from '../../../api/ztb' -import regions from '../../../utils/region' +import regions from '../../../const/region' Page({ /** diff --git a/pages/moment/theall/index.js b/pages/moment/theall/index.js index e3ae995..855282c 100644 --- a/pages/moment/theall/index.js +++ b/pages/moment/theall/index.js @@ -1,6 +1,6 @@ // pages/message/index.js const util = require('../../../utils/util') -const area = require("../../../utils/area.js") +const area = require("../../../const/area.js") const app = getApp() Component({ diff --git a/pages/purchase/create/index.js b/pages/purchase/create/index.js index 9afa13d..71db5a0 100644 --- a/pages/purchase/create/index.js +++ b/pages/purchase/create/index.js @@ -1,6 +1,6 @@ // pages/goods/create/index.js import { updatePurchase, createPurchase, paperCategoryList, getPurchaseInfo } from "../../../api/ztb" -import regions from '../../../utils/region' +import regions from '../../../const/region' const math = require('../../../utils/math') const util = require('../../../utils/util') const event = require('../../../utils/event.js') diff --git a/pages/shop/create/index.js b/pages/shop/create/index.js index 6592394..afe520a 100644 --- a/pages/shop/create/index.js +++ b/pages/shop/create/index.js @@ -1,7 +1,7 @@ // pages/shop/apply/index.js import { updateStore, getStoreInfo, editStore } from "../../../api/ztb" const util = require('../../../utils/util') -import regions from '../../../utils/region' +import regions from '../../../const/region' Page({ /**