12345678910111213141516 |
- <?php
- namespace app\common\logic;
- use app\common\model\AppModel;
- use app\common\model\ShopModel;
-
- class SmsLogic{
- public function send($shop_id,array $mobiles,$params,$key)
- {
- $shop = ShopModel::find($shop_id);
- $app = AppModel::find($shop->app_id);
- $iden=$app->iden;
- $className="\\app\\".$iden."\\logic\\SmsInitLogic";
- $ShopInit = new $className();
- return $ShopInit->send($shop_id,$mobiles,$params,$key);
- }
- }
|