Code.php 329 B

123456789101112131415161718
  1. <?php
  2. namespace Setting\Lib;
  3. use Dever;
  4. class Code
  5. {
  6. public function show_api()
  7. {
  8. $id = Dever::input('id');
  9. $url = 'http://daili.churenyiliao.com/pages/dailishang/apply/apply/';
  10. $url .= '?source_id=' . $id;
  11. $code = Dever::load('qrcode/api')->qrcode($url);
  12. return $code;
  13. }
  14. }