\Core\ServicesAdPositionService

AdPositionService 广告位服务

Summary

Methods
Properties
Constants
__get()
getBusinessContainerInstance()
getModelInstance()
getServiceInstance()
getList()
getPagesInfo()
saveAdPosition()
getInfo()
deleteInfo()
getListByIdentify()
getInfoByWhere()
$adPositionModel
$attachmentService
$videoService
No constants found
No protected methods found
$container
$businessContainerKey
N/A
No private methods found
No private properties found
N/A

Properties

$adPositionModel

$adPositionModel : \App\Models\AdPosition

Type

\App\Models\AdPosition

$attachmentService

$attachmentService : \Core\Services\AttachmentService

Type

\Core\Services\AttachmentService

$videoService

$videoService : \Core\Services\VideoService

Type

\Core\Services\VideoService

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

$businessContainerKey

$businessContainerKey : 

Created by PhpStorm.

可以实现自动注入的业务容器 User:YM Date:2020/1/12 Time:上午8:18

Type

Methods

__get()

__get(  $key) : \Psr\Container\ContainerInterface|void

__get 隐式注入服务类 User:YM Date:2019/11/21 Time:上午9:27

Parameters

$key

Returns

\Psr\Container\ContainerInterface|void

getBusinessContainerInstance()

getBusinessContainerInstance(  $key) : mixed

getBusinessContainerInstance 获取业务容器实例 User:YM Date:2020/1/12 Time:上午8:15

Parameters

$key

Returns

mixed

getModelInstance()

getModelInstance(  $key) : mixed

getModelInstance 获取数据模型类实例 User:YM Date:2019/11/21 Time:上午10:30

Parameters

$key

Returns

mixed

getServiceInstance()

getServiceInstance(  $key) : mixed

getServiceInstance 获取服务类实例 User:YM Date:2019/11/21 Time:上午10:30

Parameters

$key

Returns

mixed

getList()

getList(array  $where = array(), array  $order = array(), integer  $offset, integer  $limit) : mixed

getList 条件获取广告位列表 User:YM Date:2020/2/10 Time:下午5:16

Parameters

array $where

查询条件

array $order

排序条件

integer $offset

偏移

integer $limit

条数

Returns

mixed

getPagesInfo()

getPagesInfo(array  $where = array()) : mixed

getPagesInfo 获取分页信息 User:YM Date:2020/2/10 Time:下午5:16

Parameters

array $where

Returns

mixed

saveAdPosition()

saveAdPosition(  $inputData) : mixed

saveAdPosition 保存广告位,构造数据,防止注入 不接收数据库字段以外数据 User:YM Date:2020/2/10 Time:下午5:16

Parameters

$inputData

Returns

mixed

getInfo()

getInfo(  $id) : mixed

getInfo 根据id获取信息 User:YM Date:2020/2/10 Time:下午5:17

Parameters

$id

Returns

mixed

deleteInfo()

deleteInfo(  $id) : mixed

deleteInfo 根据id删除信息 User:YM Date:2020/2/10 Time:下午5:25

Parameters

$id

Returns

mixed

getListByIdentify()

getListByIdentify(string  $identify = '') : mixed

getListByIdentify 模糊匹配唯一标识获取list 协定只模糊匹配内容后半段 User:YM Date:2020/2/10 Time:下午5:25

Parameters

string $identify

Returns

mixed

getInfoByWhere()

getInfoByWhere(array  $where = array()) : mixed

getInfoByWhere 根据条件获取信息 User:YM Date:2020/2/10 Time:下午5:26

Parameters

array $where

Returns

mixed