信呼OA版本v2.3.8
This commit is contained in:
22
webmain/task/api/wxgzhAction.php
Normal file
22
webmain/task/api/wxgzhAction.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* 微信公众号接口
|
||||
* 来源:信呼开发团队,www.rockoa.com
|
||||
* 禁止抄袭盗版
|
||||
*/
|
||||
class wxgzhClassAction extends apiAction{
|
||||
|
||||
public function getsignAction()
|
||||
{
|
||||
$bo = m('wxgzh:signjssdk');
|
||||
$appid = $bo->readwxset();
|
||||
if(isempt($appid)){
|
||||
$arr['appId'] = '';
|
||||
}else{
|
||||
$url = $this->getvals('url');
|
||||
$arr = $bo->getsignsdk($url);
|
||||
}
|
||||
$this->showreturn($arr);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user