当前位置:网站首页>Renrenyue -- renrenyue system development source code sharing
Renrenyue -- renrenyue system development source code sharing
2022-06-25 12:27:00 【Procedure 15528175269】
Core code sharing of renrenyue system development :
public function create($id = 0)
{
if ($id) $vipinfo = \app\admin\model\user\UserArea::get($id);
$field[] = Form::input('uid', ' user ID', isset($vipinfo) ? $vipinfo->uid : '')->col(Form::col(24))->readonly( $id ? true : false);
$field[] = Form::number('rate', " The proportion of sharing and moistening (%)", isset($vipinfo) ? $vipinfo->rate : 0)->min(0)->col(24);
$field[] = Form::cityArea('area', ' Provincial city ', isset($vipinfo) ? $vipinfo->province : '',isset($vipinfo) ? $vipinfo->city : '',isset($vipinfo) ? $vipinfo->district : '');
$field[] = Form::city('city', ' Provinces ', (isset($vipinfo) && !$vipinfo->district) ? $vipinfo->province : '',( isset($vipinfo) && !$vipinfo->district) ? $vipinfo->city : '');
$field[] = Form::radio('status', ' state ', isset($vipinfo) ? $vipinfo->status : 1)->options([['label' => ' Turn on ', 'value' => 1], ['label' => ' close ', 'value' => 0]])->col(24);
$form = Form::make_post_form(' Add zone proxy ', $field, Url::buildUrl('save', ['id' => $id]), 2);
$this->assign(compact('form'));
return $this->fetch('public/form-builder');
}
边栏推荐
- Hook technology
- How to use SPSS to do grey correlation analysis? Quick grasp of hand-to-hand Teaching
- Network | indicators and test methods to measure the quality of the network
- 如果你也想做自媒体,不妨听大周给您点建议
- Rank sum ratio comprehensive evaluation method for common models in mathematical modeling
- 揭秘GaussDB(for Redis):全面對比Codis
- R语言使用scale函数对神经网络的输入数据进行最小最大缩放、把数据缩放到0到1之间、并划分数据集为训练集和测试集
- 机器学习自学成才的十条戒律
- Mpai data science platform SVM support vector machine classification \ explanation of regression parameter adjustment
- 一款好用的印章设计工具 --(可转为ofd文件)
猜你喜欢
plt. GCA () picture frame and label
Explain factor analysis in simple terms, with case teaching (full)
[data midrange] what is the oneid of the data midrange? Isn't the master data fragrant?
devsecops与devops的理解与建设
黑马畅购商城---8.微服务网关Gateway和Jwt令牌
K8s, docker compose install MySQL 8.0.18
2022年首期Techo Day腾讯技术开放日将于6月28日线上举办
The cloud native data lake has passed the evaluation and certification of the ICT Institute with its storage, computing, data management and other capabilities
2022 meisai topic C idea sharing + translation
plt.gca()画框及打标签
随机推荐
ECSHOP quickly purchases goods, simplifies the shopping process, and improves the user experience through one-step shopping
ARM 立即数
New and old cluster migration of Minio data
Dark horse shopping mall ---1 Project introduction - environment construction
. Using factory mode in net core
A set of automated paperless office system (oa+ approval process) source code: with data dictionary
【OceanBase】OceanBase简介及其与MySQL的比较
2022 meisai topic C idea sharing + translation
MYSQL中对复杂JSON的更新
Dark horse shopping mall ---8 Microservice gateway and JWT token
Installation and removal of MySQL under Windows
ECSHOP commodity wholesale multi attribute multi specification multi inventory batch purchase ECSHOP wholesale plug-in ECSHOP multi attribute order
R language uses GLM function to build Poisson logarithmic linear regression model, processes three-dimensional contingency table data to build saturation model, and poisgof function of epidisplay pack
2022年首期Techo Day腾讯技术开放日将于6月28日线上举办
The first techo day Tencent technology open day in 2022 will be held online on June 28
ARM V7 ldr str 内存访问
Uncover gaussdb (for redis): comprehensive comparison of CODIS
2022 meisai D topic ideas sharing + translation
Architects reveal the difference between working in Alibaba, Tencent and meituan
设置图片的透明度从左到右渐变