@iflyrpa/actions 1.2.16-beta.0 → 1.2.16-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/searchAccountInfo/types.d.ts +4 -4
- package/dist/bundle.js +14 -8
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1168,7 +1168,14 @@ var __webpack_exports__ = {};
|
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
1170
|
constructor(config){
|
|
1171
|
-
this.apiClient = external_axios_default().create(
|
|
1171
|
+
this.apiClient = external_axios_default().create({
|
|
1172
|
+
...config,
|
|
1173
|
+
proxy: {
|
|
1174
|
+
host: "localhost",
|
|
1175
|
+
port: 9000,
|
|
1176
|
+
protocol: "http"
|
|
1177
|
+
}
|
|
1178
|
+
});
|
|
1172
1179
|
}
|
|
1173
1180
|
addResponseInterceptor(findError) {
|
|
1174
1181
|
this.apiClient.interceptors.response.use((response)=>{
|
|
@@ -2816,16 +2823,17 @@ var __webpack_exports__ = {};
|
|
|
2816
2823
|
}
|
|
2817
2824
|
})
|
|
2818
2825
|
]);
|
|
2826
|
+
const isReday = void 0 !== totalData.data.statistic.data.yesterday_read_count;
|
|
2819
2827
|
const ttData = {
|
|
2820
2828
|
fansNum: Number(totalData.data.statistic.data.total_subscribe_count),
|
|
2821
2829
|
fansNumYesterday: void 0 !== totalData.data.statistic.data.yesterday_fans ? Number(totalData.data.statistic.data.yesterday_fans) : null,
|
|
2822
2830
|
readNum: Number(totalData.data.statistic.data.total_read_play_count),
|
|
2823
2831
|
incomeNum: totalData.data.statistic.data.total_income,
|
|
2824
2832
|
incomeNumYesterday: totalData.data.statistic.data.is_yesterday_income_ready ? totalData.data.statistic.data.yesterday_income : null,
|
|
2825
|
-
showNumYesterday: contentDataYesterday.author_stat.consume_data.impression_count,
|
|
2826
|
-
readNumYesterday: contentDataYesterday.author_stat.consume_data.go_detail_count,
|
|
2827
|
-
likeNumYesterday: contentDataYesterday.author_stat.interaction_data.digg_count,
|
|
2828
|
-
commentNumYesterday: contentDataYesterday.author_stat.interaction_data.comment_count
|
|
2833
|
+
showNumYesterday: isReday ? contentDataYesterday.author_stat.consume_data.impression_count : null,
|
|
2834
|
+
readNumYesterday: isReday ? contentDataYesterday.author_stat.consume_data.go_detail_count : null,
|
|
2835
|
+
likeNumYesterday: isReday ? contentDataYesterday.author_stat.interaction_data.digg_count : null,
|
|
2836
|
+
commentNumYesterday: isReday ? contentDataYesterday.author_stat.interaction_data.comment_count : null
|
|
2829
2837
|
};
|
|
2830
2838
|
return (0, share_namespaceObject.success)(ttData, "头条号粉丝数据获取成功!");
|
|
2831
2839
|
} catch (error) {
|
|
@@ -5304,9 +5312,7 @@ var __webpack_exports__ = {};
|
|
|
5304
5312
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
5305
5313
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
5306
5314
|
};
|
|
5307
|
-
var package_namespaceObject = {
|
|
5308
|
-
i8: "1.2.15"
|
|
5309
|
-
};
|
|
5315
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.16-beta.1"}');
|
|
5310
5316
|
class Action {
|
|
5311
5317
|
constructor(task){
|
|
5312
5318
|
this.task = task;
|