12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- namespace App\Modules\Channel\Services;
- use App\Modules\Channel\Models\ChannelSellPlatforms;
- use DB;
- class ChannelSellPlatformService
- {
-
- static function getById($id)
- {
- return ChannelSellPlatforms::getById($id);
- }
-
- static function getByName($name)
- {
- return ChannelSellPlatforms::getByName($name);
- }
-
- static function getByCode($code)
- {
- return ChannelSellPlatforms::getByCode($code);
- }
-
- static function addInfo($data)
- {
- return ChannelSellPlatforms::addInfo($data);
- }
-
- static function updateById($id, $params)
- {
- return ChannelSellPlatforms::updateById($id, $params);
- }
- static function getList(){
- return ChannelSellPlatforms::getList();
- }
- }
|