12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- return array
- (
-
- 'code_ticket' => array
- (
- 'url' => 'https://api.weixin.qq.com/cgi-bin/qrcode/create?',
- 'param' => array
- (
- 'access_token' => 'token',
- 'expire_seconds' => 604800,
- 'action_name' => Dever::input('action_name'),
- 'action_info' => array
- (
- 'scene' => array
- (
- 'scene_id' => Dever::input('scene_id'),
- )
- ),
- ),
-
- 'json' => true,
- ),
-
-
- 'code_create' => array
- (
- 'url' => 'https://mp.weixin.qq.com/cgi-bin/showqrcode?',
- 'param' => array
- (
- 'ticket' => urlencode(Dever::input('ticket')),
- ),
-
- 'json' => true,
- ),
-
-
- 'code_link' => array
- (
- 'url' => 'https://api.weixin.qq.com/cgi-bin/shorturl?',
- 'param' => array
- (
- 'access_token' => 'token',
- 'action' => 'long2short',
- 'long_url' => Dever::input('url'),
- ),
-
- 'json' => true,
- )
- );
|