index.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. namespace app\admin\controller;
  3. use app\admin\model\ReportCode;
  4. use TaxInvoice;
  5. use think\Request;
  6. class index
  7. {
  8. /**
  9. * 显示资源列表
  10. *
  11. * @return \think\Response
  12. */
  13. public function index()
  14. {
  15. $data=new TaxInvoice("KI65kioKD6mZ6IF0SsSackgE","sfMhQSpC9pjeUteAexm0sQLn",'911101050628285328');
  16. $ll=$data->CheckInvoiceSingle('',$invSubtotal='12092.26',$invoiceCode='4100191130',$issueDate='20190806',
  17. $invoiceNumber="07537241",$invType="01");
  18. var_dump($ll);
  19. }
  20. /**
  21. * 显示创建资源表单页.
  22. *
  23. * @return \think\Response
  24. */
  25. public function create()
  26. {
  27. //
  28. }
  29. /**
  30. * 保存新建的资源
  31. *
  32. * @param \think\Request $request
  33. * @return \think\Response
  34. */
  35. public function save(Request $request)
  36. {
  37. //
  38. }
  39. /**
  40. * 显示指定的资源
  41. *
  42. * @param int $id
  43. * @return \think\Response
  44. */
  45. public function read($id)
  46. {
  47. //
  48. }
  49. /**
  50. * 显示编辑资源表单页.
  51. *
  52. * @param int $id
  53. * @return \think\Response
  54. */
  55. public function edit($id)
  56. {
  57. //
  58. }
  59. /**
  60. * 保存更新的资源
  61. *
  62. * @param \think\Request $request
  63. * @param int $id
  64. * @return \think\Response
  65. */
  66. public function update(Request $request, $id)
  67. {
  68. //
  69. }
  70. /**
  71. * 删除指定资源
  72. *
  73. * @param int $id
  74. * @return \think\Response
  75. */
  76. public function delete($id)
  77. {
  78. //
  79. }
  80. }