Xzapp.php 548 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. namespace We7\Table\Account;
  7. class Xzapp extends \We7Table {
  8. protected $tableName = 'account_xzapp';
  9. protected $primaryKey = 'acid';
  10. protected $field = array(
  11. 'acid',
  12. 'uniacid',
  13. 'name',
  14. );
  15. protected $default = array(
  16. 'acid' => '',
  17. 'uniacid' => '',
  18. 'name' => '',
  19. );
  20. public function getByAcid($acid) {
  21. return $this->query->where('acid' , $acid)->get();
  22. }
  23. }