Commit 2cfc4bda authored by GuanHua's avatar GuanHua

feat:判断是否有交易规则接口添加参数

parent 4a3cef03
......@@ -28,29 +28,29 @@ const GlobalHeaderRight: React.SFC<{}> = (props) => {
return (
<div className={className}>
<Link to='/' style={{color: 'rgba(0, 0, 0, 0.85)'}}>返回商城</Link>
<Roles />
<Location />
<SelectLang />
<Tooltip title="消息">
<a
target="_blank"
href=""
rel="noopener noreferrer"
className={styles.action}
>
<BellOutlined />
</a>
</Tooltip>
<Tooltip title="服务">
<a
target="_blank"
href=""
rel="noopener noreferrer"
className={styles.action}
>
<CustomerServiceOutlined />
</a>
</Tooltip>
<Roles />
<Location />
<SelectLang />
<Tooltip title="消息">
<a
target="_blank"
href=""
rel="noopener noreferrer"
className={styles.action}
>
<BellOutlined />
</a>
</Tooltip>
<Tooltip title="服务">
<a
target="_blank"
href=""
rel="noopener noreferrer"
className={styles.action}
>
<CustomerServiceOutlined />
</a>
</Tooltip>
<Avatar />
</div>
);
......
......@@ -451,7 +451,8 @@ const CommodityDetail = (props) => {
if (clickFlag) {
clickFlag = false
PublicApi.postOrderDirectPayment({ productId: selectCommodityId }).then(res => {
//@ts-ignore
PublicApi.postOrderDirectPayment({ productId: selectCommodityId, memberId }).then(res => {
if (res.code === 1000) {
message.destroy()
let buyCommodityInfo = {
......
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