wupengfei
2025-06-09 6a6b899fbffe820f37e9e991f2335ef0c6b911c8
apps/taro/src/subpackages/my/applyResult/applyResult.vue
@@ -26,9 +26,7 @@
const router = Taro.useRouter();
const { blLifeRecharge } = useLifeRechargeContext();
const channelConsultationId = router.params?.channelConsultationId ?? '';
console.log('channelConsultationId: ', channelConsultationId);
const consultationId = router.params?.consultationId ?? '';
async function getPromoter(phoneNumber: string) {
  try {
@@ -42,7 +40,7 @@
async function getChannelConsultationById() {
  try {
    let params: APIgetChannelConsultationByIdParams = {
      id: channelConsultationId,
      id: consultationId,
    };
    return await blLifeRecharge.services.getChannelConsultationById(params);
  } catch (error) {}
@@ -61,7 +59,7 @@
async function generate() {
  try {
    if (channelConsultationId) {
    if (consultationId) {
      let res = await getChannelConsultationById();
      if (res) {
        let promoterIdNumber = await getPromoter(res.phoneNumber);
@@ -78,7 +76,6 @@
          }
        }
      }
    } else {
    }
  } catch (error) {}
}