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