当前位置:网站首页>Laravel admin obtains non auto increment ID and submits hidden forms
Laravel admin obtains non auto increment ID and submits hidden forms
2022-06-26 11:06:00 【siner. li】
stay laravel Get non auto increment in ID
Model Of $incrementing The default is true
When we use non self augmentation ID when , Will be used by default int
Add... To the model
public $incrementing = false;
The problem is solved
Non integer primary key , Need to add
protected $keyType = 'string';
Submit hidden form
// Set hidden fields
$form->ignore(['title']);
$form->saving(function () {
// Get all form information
$date = request()->all();
dd($date);
});
边栏推荐
- 02 linked list of redis data structure
- 近期工作汇报
- 滑动窗口
- Some problems of feign transferring multipartfile
- Hazelnut cloud - SMS (tool)
- Alibaba cloud OSS - object storage service (tool)
- PC qq Hall upload Update Modifying versioninfo
- CentOS installs redis multi master multi slave cluster
- Cereals Mall - Distributed Advanced
- 机器学习LDA——实验报告
猜你喜欢

Linux下安装Mysql【详细】

Fabric.js 上划线、中划线(删除线)、下划线

sliding window

JS take the date of the previous month 【 pit filling 】

nacos2.x.x启动报错信息Error creating bean with name ‘grpcClusterServer‘;

机器学习深度神经网络——实验报告

April 13, 2021 interview with beaver family
![[echart] i. how to learn echart and its characteristic document reading notes](/img/21/5405ae302df77d2ba07d9f5e5537f3.jpg)
[echart] i. how to learn echart and its characteristic document reading notes

【深度学习理论】(6) 循环神经网络 RNN

Idea remote debugger
随机推荐
Bit operation n & (n-1), leetcode231, interview question 05.06
RDB persistence validation test
一键部署属于自己的社区论坛
C language -- operators and expressions
JWT (SSO scheme) + three ways of identity authentication
Easyexcel - Excel read / write tool
MySQL Performance Monitoring and SQL statements
Jasperreports - print PDF (project tool)
Docker中实现MySQL主从复制
Alibaba cloud OSS - object storage service (tool)
How does unity prevent other camera positions and rotations from being controlled by steamvrplugin when using steamvrplugin
【深度学习理论】(6) 循环神经网络 RNN
Windows and Linux regularly backup MySQL database
Qixia housing and Urban Rural Development Bureau and fire rescue brigade carried out fire safety training
Some problems of feign transferring multipartfile
CentOS installs redis multi master multi slave cluster
Basic MySQL
服务器单、双向可调一键互信脚本!
8- creating leecode algorithm with pictures and texts - algorithm solution of minimum stack and LRU caching mechanism
Recent work report