Commit dcc73336 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改返回类型

parent 231fdfd9
......@@ -15,7 +15,7 @@ const MerchantCouponNotVerify1Detail: React.FC = () => {
const { id } = usePageStatus();
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitAuditOneGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitAuditOneGet({
id,
}),
}, CouponDetail);
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-28 10:12:31
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-28 16:39:58
* @LastEditTime: 2021-08-02 17:48:44
* @Description: 审核商家优惠劵(一级)
*/
import React, { useState } from 'react';
......@@ -21,7 +21,7 @@ const MerchantCouponVerify1: React.FC = () => {
const [submitLoading, setSubmitLoading] = useState(false);
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitAuditOneGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitAuditOneGet({
id,
}),
}, CouponDetail);
......
......@@ -15,7 +15,7 @@ const MerchantCouponNotVerify2Detail: React.FC = () => {
const { id } = usePageStatus();
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitAuditTwoGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitAuditTwoGet({
id,
}),
}, CouponDetail);
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-28 16:44:15
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-01 17:13:31
* @LastEditTime: 2021-08-02 17:48:56
* @Description:
*/
import React, { useState } from 'react';
......@@ -21,7 +21,7 @@ const MerchantCouponVerify2: React.FC = () => {
const [submitLoading, setSubmitLoading] = useState(false);
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitAuditTwoGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitAuditTwoGet({
id,
}),
}, CouponDetail);
......
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-22 15:55:02
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-06 16:54:44
* @LastEditTime: 2021-08-02 17:49:27
* @Description: 商家优惠劵查询详情
*/
import React from 'react';
......@@ -15,7 +15,7 @@ const MerchantCouponQueryDetail: React.FC<{}> = () => {
const { id } = usePageStatus();
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponSummaryGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponSummaryGet({
id,
}),
}, CouponDetail);
......
......@@ -15,7 +15,7 @@ const MerchantCouponToConfirmDetail: React.FC = () => {
const { id } = usePageStatus();
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitSubmitGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitSubmitGet({
id,
}),
}, CouponDetail);
......
......@@ -19,7 +19,7 @@ const MerchantCouponConfirm: React.FC = () => {
const [submitLoading, setSubmitLoading] = useState(false);
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitSubmitGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitSubmitGet({
id,
}),
}, CouponDetail);
......
......@@ -15,7 +15,7 @@ const MerchantCouponUnsubmittedDetail: React.FC<{}> = () => {
const { id } = usePageStatus();
const CouponDetailPro = fetchDetailHoc({
fetchDetail: () => PublicApi.getMarketingCouponWaitAuditGet({
fetchDetail: (): Promise<any> => PublicApi.getMarketingCouponWaitAuditGet({
id,
}),
}, CouponDetail);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment