|
@@ -4,7 +4,10 @@ import { useRouter } from '@tarojs/taro'
|
4
|
4
|
import { getShopList, getShopMoney, getAccount, getVerifiedOrder, setGetVerifiedOrder } from '@/services/shopBoss'
|
5
|
5
|
import { withSubscribeMessage } from '@/utils/subscribeMessage'
|
6
|
6
|
import withLayout from '@/layouts'
|
7
|
|
-import { TPL_MESSAGE_SHOP_PAY_SUCCESS } from '@/utils/constants'
|
|
7
|
+import {
|
|
8
|
+ TPL_MESSAGE_SHOP_PAY_SUCCESS,
|
|
9
|
+ TPL_MESSAGE_SHOP_VERIFY_RESULT,
|
|
10
|
+} from '@/utils/constants'
|
8
|
11
|
import tabList from './Shoptabbar'
|
9
|
12
|
import ShopKeeper from '../../components/ShopKeeper/shopKeeper'
|
10
|
13
|
import Sparead from '../../components/Sparead/spreadMoney'
|
|
@@ -38,18 +41,17 @@ export default withLayout((props) => {
|
38
|
41
|
listRef.current.context.scrollTo({ top: 0 })
|
39
|
42
|
}
|
40
|
43
|
|
41
|
|
- withSubscribeMessage(TPL_MESSAGE_SHOP_PAY_SUCCESS)
|
|
44
|
+ withSubscribeMessage([TPL_MESSAGE_SHOP_PAY_SUCCESS, TPL_MESSAGE_SHOP_VERIFY_RESULT])
|
42
|
45
|
}
|
43
|
|
- const handelTypeOrder = () => {
|
44
|
46
|
|
|
47
|
+ const handelTypeOrder = () => {
|
45
|
48
|
setAmountType('order')
|
46
|
|
-
|
47
|
49
|
}
|
48
|
50
|
|
49
|
51
|
const handelType = () => {
|
50
|
52
|
setAmountType('commission')
|
51
|
|
-
|
52
|
53
|
}
|
|
54
|
+
|
53
|
55
|
//商铺列表
|
54
|
56
|
useEffect(() => {
|
55
|
57
|
getShopList().then((res) => {
|