需求
因为pdd需要给推广位做备案
https://jinbao.pinduoduo.com/qa-system?questionId=204
不然无法转链
<?php
date_default_timezone_set('Asia/Shanghai');
function getPddApi()
{
$client_secret= 'xxxx';//https://open.pinduoduo.com/application/app/list 应用信息中查看
$param['client_id'] = 'xxxx';//同上
$param['type'] = 'pdd.ddk.rp.prom.url.generate';
$param['timestamp'] = getMillisecond();
$param['channel_type']=10;
$param[