LocationApi.php 343 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\api;
  3. use think\facade\Db;
  4. /**
  5. * Description of LocationApi
  6. *
  7. * @author sgq
  8. */
  9. class LocationApi {
  10. public static function findProvinceSelect() {
  11. $where = [];
  12. $where[] = ["code", "like", "%0000"];
  13. return Db::table("un_common_location")->where($where)->select()->toArray();
  14. }
  15. }