当前位置:网站首页>Record a weird picture upload problem
Record a weird picture upload problem
2022-06-26 02:00:00 【Murong Tianyu】
Today, when I was writing the form submission , Find a strange problem , I wonder .
Currently working on a mall module , When I want to upload pictures of the front and back of my ID card and the business license of the merchant , One upload will be successful , An upload failed , Then one succeeded again , One failed again . I can't figure it out , What the hell is this ?
Then double check my code , I didn't find anything wrong , For a long time , Later, I found another one on the Internet and said , Add a random number parameter or current time parameter , Then I tried , It's really good . Think carefully , It may be that multiple uploads make the server think it is a duplicate request , And then send a request to No .
In fact, when sending a request , Just add a parameter equal to a random number or a parameter of the current time after the link , In order to distinguish between , Every request is different , So you can upload it easily . Off duty !
边栏推荐
- 分布式系统(二)分布式事务的理解
- 求n乘阶之和
- 前置++,后置++与前置--与后置--(++a,a++与--a,a--)
- Brief introduction to the usage of iloc in dataframe
- cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network
- 轻轻松松理解指针
- Wechat circle of friends test point
- keda 2.7.1 scaledJob 代码简要分析
- PTA class a simulated 8th bomb: 1164-1167
- The answer skills and examples of practical cases of the second construction company are full of essence
猜你喜欢

Xiaomi tablet 5 Pro unlock bootloader

俏皮少女王艺璇 受邀担任第六季完美童模全球总决赛推广大使

论文阅读 Exploring Temporal Information for Dynamic Network Embedding

recvmsg & sendmsg

关于VS scanf出现‘scanf‘: This function or variable may be unsafe. Consider usi问题的解决方法

Interpretation of script corresponding to postman assertion

清甜女孩李斯霞 受邀担任第六季完美童模全球总决赛小主持人

Redis7.0的安装步骤

Easy to understand C language keyword static

Tengwenze, a hot-blooded boy, was invited to serve as the image ambassador of the global finals of the sixth season perfect children's model
随机推荐
17.11 std:: atomic continuation, std:: async in-depth discussion
物联网亿万级通信一站式解决方案EMQ
输入3个整数,从大到小输出出来
CYCA少儿形体礼仪 乐清市培训成果考核圆满落幕
readv & writev
About vs scanf, 'scanf' appears: this function or variable may be unsafe Solutions to the problem of consumer usi
字节序问题
Distributed systems (II) understanding of distributed transactions
Detailed explanation of memory leak check tools
跨域问题的一种解决方案
PTA class a simulated first bomb: 1132-1135
阳光男孩陈颢天 受邀担任第六季完美童模全球总决赛代言人
One stop solution EMQ for hundreds of millions of communication of Internet of things
recvmsg & sendmsg
PTA class a simulated ninth bullet: 1114-1117
-- EGFR FISH probe solution
readv & writev
How to add a "security lock" to the mobile office of government and enterprises?
元气少女王钰洁 受邀担任第六季完美童模全球总决赛代言人
keda 2.7.1 scaledJob 代码简要分析