This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/source/application/common/service/Basics.php
2020-04-25 22:20:29 +08:00

31 lines
426 B
PHP

<?php
namespace app\common\service;
class Basics
{
// 错误信息
protected $error;
// 当前小程序id
protected $wxappId;
/**
* 获取错误信息
* @return mixed
*/
public function getError()
{
return $this->error;
}
/**
* 是否存在错误
* @return bool
*/
public function hasError()
{
return !empty($this->error);
}
}