...
|
...
|
@@ -221,6 +221,13 @@ exports.limit = (req, res, next) => { |
|
|
}
|
|
|
|
|
|
result.appSrc = appSrc.common;
|
|
|
result.miniPath = helpers.urlFormat('/api/wechat/miniapp.jpg', {
|
|
|
miniapp_type: 4,
|
|
|
param: JSON.stringify({
|
|
|
limitProductCode: productCode,
|
|
|
}),
|
|
|
miniQrType: 11,
|
|
|
});
|
|
|
result.wxshare = {
|
|
|
shareLink: helpers.urlFormat('/product/detail/limit', {code: productCode}),
|
|
|
shareImg: result.banner.replace('//', 'http://'),
|
...
|
...
|
|