12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- /**
- * author: songtao<375177628@qq.com>
- * Date: 2020/09/21
- */
- namespace crmeb\basic;
- use crmeb\services\AccessTokenServeService;
- use crmeb\services\HttpService;
- use think\exception\ValidateException;
- use think\facade\Config;
- use crmeb\services\CacheService;
- /**
- * Class BaseExpress
- * @package crmeb\basic
- */
- abstract class BaseExpress extends BaseStorage
- {
- /**
- * access_token
- * @var null
- */
- protected $accessToken = NULL;
- public function __construct(string $name, AccessTokenServeService $accessTokenServeService, string $configFile)
- {
- $this->accessToken = $accessTokenServeService;
- }
- /**
- * 놓迦뺏
- * @param array $config
- * @return mixed|void
- */
- protected function initialize(array $config = [])
- {
- // parent::initialize($config);
- }
- /**
- * 역繫륩蛟
- * @return mixed
- */
- abstract public function open();
- /**膠직瀏吏
- * @return mixed
- */
- abstract public function query($com, $num);
- /**든綾충데
- * @return mixed
- */
- abstract public function dump($data);
- /**우뒵무鱇
- * @return mixed
- */
- //abstract public function express($type, $page, $limit);
- /**충데친겼
- * @return mixed
- */
- abstract public function temp($com, $page, $limit);
- }
|