public function getUnionId($appIndex, $code)
 {
     $AppKey = Platform::$AppArr[$appIndex];
     $wechat = new WeChat($AppKey['AppID'], $AppKey['AppSecret']);
     return $wechat->GetUnionId($code);
 }