推广分佣功能开发
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { fetchHome, fetchConfig } from '../../services/home/home';
|
||||
import { fetchPerson } from '../../services/usercenter/fetchPerson';
|
||||
import { withPromoter, promoterQuery } from '../../utils/promoter';
|
||||
|
||||
Page({
|
||||
data: {
|
||||
@@ -143,4 +144,18 @@ Page({
|
||||
url: `/pages/promotion-detail/index?promotion_id=${promotionID}`,
|
||||
});
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '代码帮 - 软件商城与定制开发平台',
|
||||
path: withPromoter('/pages/home/home'),
|
||||
};
|
||||
},
|
||||
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: '代码帮 - 软件商城与定制开发平台',
|
||||
query: promoterQuery(),
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user