How to get int instead string from form?

后端 未结 5 1380
北海茫月
北海茫月 2020-11-28 14:15

Getting variable from form:

5条回答
  •  悲哀的现实
    2020-11-28 14:49

    Sending over the wire via HTTP, everything is a string. It's up to your server to decide that "1" should be 1.

提交回复
热议问题