|
@@ -16,6 +16,18 @@ class Card
|
|
|
public function test()
|
|
|
{
|
|
|
$len = Dever::queue($this->lock, 'len');
|
|
|
+ return $len;2
|
|
|
+ }
|
|
|
+
|
|
|
+ public function test1()
|
|
|
+ {
|
|
|
+ $total = Dever::db('youzan/card_list')->total(array('option_state' => 1, 'option_status' => 1));
|
|
|
+ return Dever::lock($this->lock, $total);
|
|
|
+ }
|
|
|
+
|
|
|
+ public function test2()
|
|
|
+ {
|
|
|
+ $len = Dever::queue($this->lock);
|
|
|
return $len;
|
|
|
}
|
|
|
|