截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UserLevel.php 404B

123456789101112131415161718
  1. <?php
  2. namespace app\common\model\user;
  3. use app\common\basics\Models;
  4. use app\common\server\UrlServer;
  5. class UserLevel extends Models
  6. {
  7. public function getImageAttr($value,$data)
  8. {
  9. return empty($value) ? $value : UrlServer::getFileUrl($value);
  10. }
  11. public function getBackgroundImageAttr($value)
  12. {
  13. return empty($value) ? $value : UrlServer::getFileUrl($value);
  14. }
  15. }