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