# dcb.createShareCode
获取口令 用户分享给微信
# 参数
属性 | 类型 | 默认值 | 必填 | 说明 | 最低版本 |
---|---|---|---|---|---|
moduleCode | string | 是 | 专区编码 到家帮:01 其他专区待定:xx 用于查询对应专区的封面 | ||
targetUrl | string | 是 | 跳转链接 | ||
queryParams | Object | 否 | object [] 查询参数 非必须 用不上可不传 |
# 示例
const res = await dcb.createShareCode({
moduleCode: '01',
targetUrl:
'https://h5gateway.gogpay.cn/homeServiceNew/service/detail?serviceItemID=bb5761e96753dca001679b256736006e&areaCode=520115',
});