推广分佣功能开发

This commit is contained in:
Dev
2026-10-14 14:44:01 +08:00
parent da26eb5306
commit 1754df972d
34 changed files with 1414 additions and 16 deletions
+15
View File
@@ -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(),
};
},
});