添加助力日志打印
This commit is contained in:
@ -367,7 +367,6 @@ async function doHelp() {
|
||||
console.log(`\n跳过自己的plantUuid\n`)
|
||||
continue
|
||||
}
|
||||
console.log(`\n开始助力好友: ${plantUuid}`);
|
||||
await helpShare(plantUuid);
|
||||
if ($.helpResult.code === '0') {
|
||||
// console.log(`助力好友结果: ${JSON.stringify($.helpResult.data.helpShareRes)}`);
|
||||
@ -489,6 +488,7 @@ async function plantShareSupportList() {
|
||||
}
|
||||
//助力好友的api
|
||||
async function helpShare(plantUuid) {
|
||||
console.log(`\n开始助力好友: ${plantUuid}`);
|
||||
const body = {
|
||||
"plantUuid": plantUuid,
|
||||
"wxHeadImgUrl": "",
|
||||
@ -496,6 +496,7 @@ async function helpShare(plantUuid) {
|
||||
"followType": "1",
|
||||
}
|
||||
$.helpResult = await request(`plantBeanIndex`, body);
|
||||
console.log(`助力结果的code:${$.helpResult && $.helpResult.code}`);
|
||||
}
|
||||
async function plantBeanIndex() {
|
||||
$.plantBeanIndexResult = await request('plantBeanIndex');//plantBeanIndexBody
|
||||
|
Reference in New Issue
Block a user