Commit 1ddaf619 by 冷斌

update

parent d6bc0e12
...@@ -77,7 +77,10 @@ class PushController extends AdminbaseController { ...@@ -77,7 +77,10 @@ class PushController extends AdminbaseController {
$userIds = explode(',', $touid); $userIds = explode(',', $touid);
foreach ($userIds as $userId) { foreach ($userIds as $userId) {
$liang = M("liang")->select('uid')->where('name='.$userId.' and state=1')->find(); $liang = M("liang")->select('uid')->where([
'name' => $userId,
'state' => 1,
])->find();
var_dump($liang); var_dump($liang);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment