Przeglądaj źródła

Merge branch 'test' of git.oschina.net:yiguanjia/php into test

north 7 lat temu
rodzic
commit
3aebbd9dae

+ 2 - 2
www/protected/modules/j/controllers/HouseKeepingController.php

@@ -176,8 +176,8 @@ class HouseKeepingController extends JBaseController
     public function actionAddUserInfo()
     {
         $user_id = Yii::app()->request->getParam('user_id','');
-        if (empty($user_id) || CommonFn::isMongoId($user_id)) {
-            CommonFn::requestAjax(false, '添加失败', array());
+        if (empty($user_id) || !CommonFn::isMongoId($user_id)) {
+            CommonFn::requestAjax(false, '添加失败1', array());
         }
         $mobile = Yii::app()->request->getParam('mobile','');
         $name = Yii::app()->request->getParam('name','');

+ 0 - 0
www/webapp/housekeeping/src/components/userInfo.vue