| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * @package merchant
- *
- * @author xaboy
- * @day 2020-04-16
- *
- *
- */
- namespace app\common\repositories\merchant\apply;
- use app\common\dao\merchant\apply\MerchantIntentionApplyDao;
- use app\common\repositories\BaseRepository;
- /**
- * Class MerchantIntentionApplyRepository
- * @package app\common\repositories\merchant\apply
- * @author php迷途小书童
- * @created 2021/1/30 17:42
- */
- class MerchantIntentionApplyRepository extends BaseRepository
- {
- /**
- * MerchantRepository constructor.
- * @param MerchantIntentionApplyDao $dao
- */
- public function __construct(MerchantIntentionApplyDao $dao)
- {
- $this->dao = $dao;
- }
- /**
- * 获取单条信息
- * @return array|\think\Model|null
- * @author php迷途小书童
- * @created 2021/1/16 10:45
- */
- public function getOne($where)
- {
- return ($this->dao->getWhere($where));
- }
- }
|