验证器类:Validate.php <?php namespace framework\library; class Validate { /** * 当前验证规则 * @var array */ protected $rule = []; /** * 验证提示信息 * @var array */ ...
分类:
Web程序 时间:
2021-01-28 11:58:59
阅读次数:
0
接着上篇 https://www.cnblogs.com/cuocuo/p/14329868.html 当exp为bind的时候,虽然会拼接,但是find()和select()是没办法利用的,我们需要更改一下代码 <?php namespace Home\Controller; use Think\ ...
分类:
Web程序 时间:
2021-01-28 11:55:31
阅读次数:
0
案例截图: 详解: 1) Application/Admin/Controller/目录下新建控制器文件AjaxController.class.php 1 <?php 2 namespace Admin\Controller; 3 use Think\Controller; 4 class Aja ...
分类:
Web程序 时间:
2021-01-27 14:04:07
阅读次数:
0
当私有继承时,基类的所有public成员都变成了private。如果希望它们中的任何一个 是可视的,只要用派生类的public部分声明它们的名字即可: #include<iostream>using namespace std; class Pet {public: char eat() const ...
分类:
编程语言 时间:
2021-01-27 14:01:01
阅读次数:
0
找规律后可以找到这个。 #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll inf = 0x3f3f3f3f; const double eps = 1e-6; const ll N = 1e5+7 ...
分类:
其他好文 时间:
2021-01-27 13:56:17
阅读次数:
0
一、代码实现 1、AlternateDataStream.cs using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace F ...
接着上篇来看 https://www.cnblogs.com/cuocuo/p/14329379.html <?php namespace Home\Controller; use Think\Controller; use \Think\Logs; class IndexController ex ...
分类:
Web程序 时间:
2021-01-27 13:29:47
阅读次数:
0
https://github.com/nacos-group/nacos-k8s 1,将这个仓库下载到kubectl的主机上 git clone https://github.com/nacos-group/nacos-k8s 2,创建namespace(因为是测试想与k8s上其他业务区分开) ku ...
分类:
其他好文 时间:
2021-01-27 13:01:59
阅读次数:
0
https://www.acwing.com/solution/content/3472/ 单链表 #include<iostream> using namespace std; const int N=1e6+10; // e[N]中存value,ne[N]存下一个结点的下标 int head,e ...
分类:
其他好文 时间:
2021-01-26 12:24:15
阅读次数:
0
1 #include <bits/stdc++.h> 2 3 using namespace std; 4 #define ENDL "\n" 5 typedef long long ll; 6 typedef pair<int, int> pii; 7 const int inf = 0x7fff ...
分类:
其他好文 时间:
2021-01-26 12:07:05
阅读次数:
0