Btoc.php 351 B

123456789101112131415161718
  1. <?php
  2. namespace app\index\controller;
  3. use think\App;
  4. use think\Controller;
  5. class Btoc extends Controller
  6. {
  7. public function index()
  8. {
  9. $post['id'] = 1;
  10. $data['url'] = 'http://hm.hemadj.com/dev/test';
  11. $data['method'] = 'post';
  12. $data['data'] = $post;
  13. $result = _curl($data);
  14. pre($result);
  15. }
  16. }