dever %!s(int64=6) %!d(string=hai) anos
pai
achega
10c1b99334
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      youzan/src/Card.php

+ 12 - 0
youzan/src/Card.php

@@ -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;
 	}