Comments (1)
额,看源码的我是。
public function getArg($name)
{
if (isset($_POST[$name])) {
return $_POST[$name];
} else if (isset($_GET[$name])) {
return $_GET[$name];
} else if (isset($this->_jsonParams[$name])) {
return $this->_jsonParams[$name];
}
return false;
}
看情况必须一个个单独取出来,你的getArgs()漏了参数name。
from framework.
Related Issues (11)
- 关于缓存模块 HOT 5
- 注入的对象只能在 action 里 execute 方法里使用? HOT 16
- render json 是空的 HOT 3
- bad class name "Simple" HOT 1
- 没有文档
- Suggestion of support of setting http-only cookies.
- 希望统一目录后的斜杠问题 HOT 1
- 错误的路径如何引导进 action ? HOT 8
- 建议路由器加个反射路由取得 url 的功能 HOT 2
- 塞入 Data 对象的是空数组时报警告 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.