コード例 #1
0
 public static function shelf($arry = false)
 {
     $groupId = '207133170';
     $shelf = new ShelfData();
     $shelf->controlTwo(array($groupId, $groupId, $groupId), 2);
     if ($arry) {
         return $shelf->getData();
     }
     return $shelf;
 }
コード例 #2
0
 public function testControlTwo()
 {
     $shelf = new Shelf();
     $data = $shelf->controlTwo(array('商品id', '商品ID'), 'eid');
     $this->assertInstanceOf(Shelf::class, $data);
 }