-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1212 lines (700 loc) · 34.2 KB
/
Copy pathindex.html
File metadata and controls
1212 lines (700 loc) · 34.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/fluid.png">
<link rel="icon" href="/img/fluid.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="author" content="CHEN DI">
<meta name="keywords" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="啊芫荽">
<meta property="og:url" content="http://hncd1024.github.io/index.html">
<meta property="og:site_name" content="啊芫荽">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="CHEN DI">
<meta name="twitter:card" content="summary_large_image">
<meta name="referrer" content="no-referrer-when-downgrade">
<title>啊芫荽</title>
<link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
<link rel="stylesheet" href="/css/main.css" />
<link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
<link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
<script id="fluid-configs">
var Fluid = window.Fluid || {};
Fluid.ctx = Object.assign({}, Fluid.ctx)
var CONFIG = {"hostname":"hncd1024.github.io","root":"/","version":"1.9.2","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"left","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"follow_dnt":true,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml"};
if (CONFIG.web_analytics.follow_dnt) {
var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
}
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 6.2.0"><link rel="alternate" href="/atom.xml" title="啊芫荽" type="application/atom+xml">
</head>
<body>
<header>
<div class="header-inner" style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>啊芫荽</strong>
</a>
<!-- 和风天气 -->
<div id="he-plugin-simple"></div>
<script>
WIDGET = {
"CONFIG": {
"modules": "01234",
"background": "5",
"tmpColor": "FFFFFF",
"tmpSize": "16",
"cityColor": "FFFFFF",
"citySize": "16",
"aqiColor": "FFFFFF",
"aqiSize": "16",
"weatherIconSize": "24",
"alertIconSize": "18",
"padding": "10px 10px 10px 10px",
"shadow": "1",
"language": "zh",
"fixed": "false",
"vertical": "top",
"horizontal": "left",
"key": "fcab63f1ff6243bea84220ccf7e95b45"
}
}
</script>
<script src="https://widget.qweather.net/simple/static/js/he-simple-common.js?v=2.0"></script>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/">
<i class="iconfont icon-home-fill"></i>
首页
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/">
<i class="iconfont icon-archive-fill"></i>
归档
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/">
<i class="iconfont icon-category-fill"></i>
分类
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/">
<i class="iconfont icon-tags-fill"></i>
标签
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/">
<i class="iconfont icon-user-fill"></i>
关于
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle"> <i
class="iconfont icon-dark" id="color-toggle-icon"></i> </a>
</li>
</ul>
</div>
</div>
</nav>
<div id="banner" class="banner" parallax=true
style="background: url('/img/default.png') no-repeat center center; background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="banner-text text-center fade-in-up">
<div class="h2">
<span id="subtitle" data-typed-text=""></span>
</div>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div id="board"
style="margin-top: 0">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/02/07/python_OFDread/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|开放式基金业务数据交换文件的自动解析">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/02/07/python_OFDread/" target="_self">
Python|开放式基金业务数据交换文件的自动解析
</a>
</h1>
<a class="index-excerpt " href="/2024/02/07/python_OFDread/" target="_self">
<div>
近日,我同事有个开放式基金业务数据文件读取的需求,大概背景是: 人民银行制定了开放式基金业务数据交换协议的标准,规定场外开放式基金、证券公司大集合产品相关业务中机构之间进行数据交换时所采用的数据格式、数据定义和数据内容。 在实际使用中,机构会发送 txt 文件,我同事手工通过第三方软件实现数据内容的读取,之后再转为 excel 才能用于其他场景的使用。这次希望可以自动完成 txt 文件的解析(解析
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-02-07 14:00" pubdate>
2024-02-07
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/02/06/Python_flet_point/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|发现一个好用的GUI库-flet">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/02/06/Python_flet_point/" target="_self">
Python|发现一个好用的GUI库-flet
</a>
</h1>
<a class="index-excerpt " href="/2024/02/06/Python_flet_point/" target="_self">
<div>
前端时间发现了一个 python 库:flet 这是一个框架库,可以用来构建 web 系统,也能用来构建桌面端和移动端的程序。它的组件设计简约,UI 效果满足了日常需求。而且在界面设计的时候,根本不需要用到前端的开发知识,是一个用来构建轻量应用(同时兼顾 UI 设计)的神器。 参考文档:《Flet中文网》 我简单上手体验了下,感觉是一个值得去反复使用的良心库。两个建议改进的地方: 不支持全局热键
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-02-06 14:44" pubdate>
2024-02-06
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/flet/" class="category-chain-item">flet</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/flet/">#flet</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/02/05/Python_DrissionPage/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|DrissionPage实现某网站点赞收藏">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2024/02/05/Python_DrissionPage/" target="_self">
Python|DrissionPage实现某网站点赞收藏
</a>
</h1>
<a class="index-excerpt " href="/2024/02/05/Python_DrissionPage/" target="_self">
<div>
在《Python|selenium实现自动点赞收藏(进阶版)》中,我通过 selenium 实现了某网站积分的自动获取。作为 Web 自动化测试工具库, selenium 还是比较流行的,但它的非标准内核机制使用时实在令人难受,因为你不得不关注本机浏览器的版本,需要定期下载对应的webdriver。今天介绍一个比较好用的库:DrissionPage,而且是国产开源的库! 介绍 DrissionP
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-02-05 16:23" pubdate>
2024-02-05
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/DrissionPage/" class="category-chain-item">DrissionPage</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/DrissionPage/">#DrissionPage</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/12/18/Python_createEnfoVoucher/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|解析excel自动创建业务系统凭证">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/12/18/Python_createEnfoVoucher/" target="_self">
Python|解析excel自动创建业务系统凭证
</a>
</h1>
<a class="index-excerpt " href="/2023/12/18/Python_createEnfoVoucher/" target="_self">
<div>
财务同事近期提了一个需求:公司有一类产品,定期需要从网上银行下载交易流水。筛选出符合条件的到账流水后,要逐笔在业务系统中录入凭证。这个凭证逻辑比较简单,每月需要集中做几次。项目自成立以来已经累计做了八百多张凭证了。同事希望可以通过系统实现excel的解析和凭证的自动录入。 我这边所负责的项目中,恰巧有需要在业务系统录入凭证,之前都是采用的RPA模拟鼠标键盘操作的,这种效率很低。这次想借此机会让业务
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-12-18 16:42" pubdate>
2023-12-18
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/pandas-requests/" class="category-chain-item">pandas,requests</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/pandas/">#pandas</a>
<a href="/tags/requests/">#requests</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/12/08/Python_FileMove/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|批量移动文件并修改目录层级">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/12/08/Python_FileMove/" target="_self">
Python|批量移动文件并修改目录层级
</a>
</h1>
<a class="index-excerpt " href="/2023/12/08/Python_FileMove/" target="_self">
<div>
前面说过,最近在做档案的迁移。从其中一个系统导出的目录结构如下: 123456789101112131415|-- 签报 |-- 签报〔2022〕1号 |-- 正文 |-- 关于XXX的请示.DOC |-- 附件 |-- 附件1.DOC |-- 附件2.PDF |-- 表单.HTML
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-12-08 17:36" pubdate>
2023-12-08
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/os/" class="category-chain-item">os</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/os/">#os</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/12/07/Python_ecologyFileDownload2/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|实现公文系统批量收藏">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/12/07/Python_ecologyFileDownload2/" target="_self">
Python|实现公文系统批量收藏
</a>
</h1>
<a class="index-excerpt " href="/2023/12/07/Python_ecologyFileDownload2/" target="_self">
<div>
我们公司公文系统开发过一个【收藏】的功能,当点击【收藏】按钮的时候,系统会将当前收文/发文/签报里的正文、附件、审批表单打包成一个.zip文件下载到本地。 这几天在做档案系统的迁移工作,需要把公文系统一年的内容批量下载下来。时间比较着急,也来不急找供应商再单独做个功能了。这次我的处理方式如下: 在浏览器中随便打开一个签报,点击【收藏】,F12跟一下请求,发现会通过POST请求调用 /api/on
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-12-07 14:47" pubdate>
2023-12-07
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/requests/" class="category-chain-item">requests</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/pandas/">#pandas</a>
<a href="/tags/requests/">#requests</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/12/07/Python_pdfkit/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|word、html文件转pdf">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/12/07/Python_pdfkit/" target="_self">
Python|word、html文件转pdf
</a>
</h1>
<a class="index-excerpt " href="/2023/12/07/Python_pdfkit/" target="_self">
<div>
最近在做一个文档迁移的工作,源文件比较多,有大量的目录,其中包含word文档、html文件。在新系统中,希望将文件格式转换为PDF以实现在线预览。 这里我们通过python实现文件的批量转换,具体思路是: 通过os库逐层遍历目录,待处理的获取文件名及文件路径。 通过win32com库将.doc、.docx文件转为.pdf。 通过pdfkit将.html文件转为.pdf。 源码如下: 1234
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-12-07 11:28" pubdate>
2023-12-07
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/pdfkit-win32com/" class="category-chain-item">pdfkit,win32com</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/UiApdfkit/">#UiApdfkit</a>
<a href="/tags/win32comuto/">#win32comuto</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/11/13/Ecology_FileDownload/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|泛微Ecology附件下载接口">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/11/13/Ecology_FileDownload/" target="_self">
Python|泛微Ecology附件下载接口
</a>
</h1>
<a class="index-excerpt " href="/2023/11/13/Ecology_FileDownload/" target="_self">
<div>
公司有一类流程,需要把所有的附件打包下载下来。手工下载会比较耗时,这里我们常尝试下通过脚本简单实现下附件的批量下载。 其实在《UiAuto|泛微Ecology系统附件下载插件》中,我通过ecology8的WSDL实现了文件的下载,但在实际运用中需要用账号密码获取session,还要封装docinfo信息才能实现上传和下载。这篇文章我们试下另一种方式的文件下载,并在完成批量下载后自动打包为压缩包文件
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-11-13 10:10" pubdate>
2023-11-13
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/Ecology/" class="category-chain-item">Ecology</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/Ecology/">#Ecology</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/09/01/Ecology_apiUpload/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="Python|泛微Ecology附件上传接口">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/09/01/Ecology_apiUpload/" target="_self">
Python|泛微Ecology附件上传接口
</a>
</h1>
<a class="index-excerpt " href="/2023/09/01/Ecology_apiUpload/" target="_self">
<div>
在《UiAuto|泛微Ecology系统附件上传插件》中,我通过ecology8的WSDL实现了文件的上传,但在实际运用中需要用账号密码获取session,还要封装docinfo信息才能实现上传和下载。这篇文章我们试下另一种方式的文件上传,并简单测试下流程创建的场景。 参考文档 《泛微接口文档》 ,参照的是知识管理-附件上传接口。 源码 123456789101112131415161718
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-09-01 09:53" pubdate>
2023-09-01
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/Ecology/" class="category-chain-item">Ecology</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>
<a href="/tags/Ecology/">#Ecology</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2023/08/29/Ecology_apidoCreateRequest/" target="_self">
<img src="/./image/python.png" srcset="/img/loading.gif" lazyload alt="ecology|泛微ecology9流程新建接口">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h1 class="index-header">
<a href="/2023/08/29/Ecology_apidoCreateRequest/" target="_self">
ecology|泛微ecology9流程新建接口
</a>
</h1>
<a class="index-excerpt " href="/2023/08/29/Ecology_apidoCreateRequest/" target="_self">
<div>
最近发现泛微ecology9的接口文档,这篇文章我们简单测试下流程创建的场景。 参考文档 《泛微接口文档》 注:在这篇文档中介绍了不同接口的调用方式,基本都是POST方式,通过请求参数实现接口调用。其中测试发现在接口调用时还需要封装headers,需要在headers中传以下参数:token,appid,userid (参照《ecology|泛微ecology9获取token信息》) 源码 1
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2023-08-29 14:29" pubdate>
2023-08-29
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/Python/" class="category-chain-item">Python</a>
<span>></span>
<a href="/categories/Python/Ecology/" class="category-chain-item">Ecology</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/Python/">#Python</a>