const articleDBName = 'uni-cms-articles'
const favoriteDBName = 'lmc-cms-favorite'
const db = uniCloud.database()
const _db1 = db.collection(articleDBName).where('article_status == "1" && note_type == 0 && is_secret_letter == false && which_sex_can_see == 0 && default_who_can_see == 0').field('category_id, title, content, _id, like_count, comment_status, comment_count, thumbnail, publish_date, note_type, article_status, is_secret_push').orderBy('publish_date desc').getTemp()
const _db3 = db.collection(favoriteDBName).field('article_id, _id, user_id').getTemp()
db.collection(_db1, _db3).get().then(res => {
console.log('res: ',res);
})