|
|
@@ -971,9 +971,9 @@ async function checkExpertsRecommend() {
|
|
|
if (prValue < 80) {
|
|
|
let indexKey = 'winningProbability';
|
|
|
expectList.sort((a, b) => {
|
|
|
- if (b[indexKey] == a[indexKey]) {
|
|
|
+ if (a[indexKey] == b[indexKey]) {
|
|
|
return 0;
|
|
|
- } else if (b[indexKey] > a[indexKey]) {
|
|
|
+ } else if (a[indexKey] > b[indexKey]) {
|
|
|
return 1;
|
|
|
} else {
|
|
|
return -1;
|
|
|
@@ -988,6 +988,7 @@ async function checkExpertsRecommend() {
|
|
|
magicJS.data.read('168_PksExpertUserName', null);
|
|
|
return;
|
|
|
}
|
|
|
+ magicJS.data.write('168_PksExpertUserName', expectItem.userName);
|
|
|
}
|
|
|
let planDetail = await getExpertsRecommendDetail(expectItem.userId, gLotteryCode, groupCode, ranking);
|
|
|
if (!planDetail) {
|