Test.php 507 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Heanup\App\Api\Controller;
  3. use Heanup\App\Api\Controller;
  4. use Heanup\App\Api\Package\Database\Num;
  5. use Heanup\Library\Sms\ReceiveSmsCc;
  6. class Test extends Controller
  7. {
  8. protected function main()
  9. {
  10. $lib=new ReceiveSmsCc();
  11. $data=$lib->getCountry();
  12. foreach ($data as $item) {
  13. $nums=$lib->getPhoneNums($item['link']);
  14. $this->showSuccess($nums);
  15. }
  16. $this->showSuccess($data);
  17. // $this->showSuccess($result);
  18. }
  19. }