IndexController.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * Name: 芸众商城系统
  5. * Author: 广州市芸众信息科技有限公司
  6. * Profile: 广州市芸众信息科技有限公司位于国际商贸中心的广州,专注于移动电子商务生态系统打造,拥有芸众社交电商系统、区块链数字资产管理系统、供应链管理系统、电子合同等产品/服务。官网 :www.yunzmall.com www.yunzshop.com
  7. * Date: 2022/1/5
  8. * Time: 15:10
  9. */
  10. namespace app\outside\controllers;
  11. use app\common\components\BaseController;
  12. use app\common\exceptions\AppException;
  13. use app\common\models\AccountWechats;
  14. use app\outside\services\ClientService;
  15. use Illuminate\Support\Facades\DB;
  16. class IndexController extends OutsideController
  17. {
  18. public function index()
  19. {
  20. dd('测试');
  21. $client = new ClientService();
  22. $client->setRoute('index.index');
  23. $client->setData('sign_type', 'SHA256');
  24. $client->setData('uid', 2455);
  25. $client->setData('order_sn', 'RW3346346346');
  26. $client->setData('desc', '测试接口');
  27. $result = $client->post();
  28. dd($result);
  29. dd('测试');
  30. }
  31. }