| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- /**
- * User: admin
- * Date Time: 2021/3/25 22:36
- */
- namespace common\components\dada\config;
- class config
- {
- /**
- * 达达开发者app_key
- */
- private $appKey = '';
- /**
- * 达达开发者app_secret
- */
- private $appSecret = '';
- /**
- * api版本
- */
- private $v = "1.0";
- /**
- * 数据格式
- */
- private $format = "json";
- /**
- * 商户ID
- */
- private $sourceId;
- /**
- * host
- */
- public $host;
- public function __construct(){
- }
- public function getAppKey(){
- return $this->appKey;
- }
- public function getAppSecret(){
- return $this->appSecret;
- }
- public function getV(){
- return $this->v;
- }
- public function getFormat(){
- return $this->format;
- }
- public function getSourceId(){
- return $this->sourceId;
- }
- public function getHost(){
- return $this->host;
- }
- /**
- * @param mixed $appKey
- */
- public function setAppKey($appKey)
- {
- $this->appKey = $appKey;
- }
- /**
- * @param mixed $appSecret
- */
- public function setAppSecret($appSecret)
- {
- $this->appSecret = $appSecret;
- }
- /**
- * @param mixed $v
- */
- public function setV($v)
- {
- $this->v = $v;
- }
- /**
- * @param mixed $format
- */
- public function setFormat($format)
- {
- $this->format = $format;
- }
- /**
- * @param mixed $sourceId
- */
- public function setSourceId($sourceId)
- {
- $this->sourceId = $sourceId;
- }
- /**
- * @param mixed $host
- */
- public function setHost($host)
- {
- $this->host = $host;
- }
- }
|