|
@@ -404,7 +404,8 @@ class IndexService extends CrudService {
|
|
|
const trans1 = await patentTrans.count({ type: '转让', user_id: id });
|
|
|
const trans2 = await patentTrans.count({ type: '合作', user_id: id });
|
|
|
const trans3 = await patentTrans.count({ type: '招商', user_id: id });
|
|
|
- return { unread, apply, analysis, access, information, early, trans1, trans2, trans3 };
|
|
|
+ return {
|
|
|
+ message: { unread }, apply: { apply, analysis, access }, patent: { information, early }, transaction: { trans1, trans2, trans3 } };
|
|
|
}
|
|
|
|
|
|
}
|