optimize: fortune page share reward
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
import { ref } from "vue";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { getPageDetail } from "@/api/system.js";
|
||||
import { saveViewRequest } from "@/utils/common.js";
|
||||
|
||||
const inviterName = ref("");
|
||||
const inviterAvatar = ref("");
|
||||
@@ -122,6 +123,7 @@ const loadPageDetail = async (shareToken) => {
|
||||
fortuneData.value = data;
|
||||
inviterName.value = data?.from?.nickname || "";
|
||||
inviterAvatar.value = data?.from?.avatar || "";
|
||||
saveViewRequest(shareToken, "fortune_draw", data.fortuneId);
|
||||
};
|
||||
|
||||
const goHome = () => {
|
||||
|
||||
Reference in New Issue
Block a user