...
|
...
|
@@ -42,6 +42,7 @@ class TestController extends HomeBaseController |
|
|
$code_img = $this->code_img(28,2);
|
|
|
$code = file_get_contents($code_img);
|
|
|
file_put_contents(ROOT_PATH."public/upload/code_img/code_img28.png",$code);
|
|
|
echo cmf_get_image_url('code_img/code_img28.png');
|
|
|
}
|
|
|
/**
|
|
|
* 生成带参二维码
|
...
|
...
|
@@ -59,7 +60,6 @@ class TestController extends HomeBaseController |
|
|
'action_info' => ['scene' => ['scene_str' => "$admin_id"."-"."$status"]]
|
|
|
];
|
|
|
$result = $this->api_notice_increment($url, json_encode($param));
|
|
|
dump($result);
|
|
|
$data = json_decode($result, true);
|
|
|
$ticket = urlencode($data['ticket']);
|
|
|
$qr_url = 'https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=' . $ticket;
|
...
|
...
|
|