|
@@ -9,7 +9,7 @@ class TestController extends O2oBaseController {
|
|
|
public function actionTest() {
|
|
|
$code = urldecode(Yii::app()->request->getParam('code'));
|
|
|
$file = fopen('a.txt','a') or die('创建失败');
|
|
|
- if (intval($code)) {
|
|
|
+ if (intval($code) == 0) {
|
|
|
|
|
|
$txt = urldecode(Yii::app()->request->getParam('text'));
|
|
|
$txt .= urldecode(Yii::app()->request->getParam('message'));
|