Upsource.php 346 B

1234567891011121314151617181920212223
  1. <?php
  2. declare (strict_types = 1);
  3. namespace app\model\api;
  4. use think\Model;
  5. /**
  6. * @mixin \think\Model
  7. */
  8. class Upsource extends Model
  9. {
  10. private $typeAr = [
  11. ["type"=>"img","title"=>"普通图片"],
  12. ["type"=>"icon","title"=>"图标"]
  13. ];
  14. public function getTypeData(){
  15. return $typeAr;
  16. }
  17. }