Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

SmsLogic.php 467B

12345678910111213141516
  1. <?php
  2. namespace app\common\logic;
  3. use app\common\model\AppModel;
  4. use app\common\model\ShopModel;
  5. class SmsLogic{
  6. public function send($shop_id,array $mobiles,$params,$key)
  7. {
  8. $shop = ShopModel::find($shop_id);
  9. $app = AppModel::find($shop->app_id);
  10. $iden=$app->iden;
  11. $className="\\app\\".$iden."\\logic\\SmsInitLogic";
  12. $ShopInit = new $className();
  13. return $ShopInit->send($shop_id,$mobiles,$params,$key);
  14. }
  15. }