修复:法大大返回链接未编码,导致任务完成后未显示返回连接的问题
This commit is contained in:
parent
8495d80622
commit
b4d30ddfc7
|
|
@ -9,11 +9,11 @@ use FddCloud\client\Client;
|
||||||
use FddCloud\client\ServiceClient;
|
use FddCloud\client\ServiceClient;
|
||||||
use think\exception\ValidateException;
|
use think\exception\ValidateException;
|
||||||
use think\facade\Cache;
|
use think\facade\Cache;
|
||||||
use think\facade\Route;
|
|
||||||
use think\facade\Route as Url;
|
|
||||||
|
|
||||||
class ContractDao extends BaseDao{
|
class ContractDao extends BaseDao{
|
||||||
|
|
||||||
|
// FADADA_PREFIX = 'wmbt_'
|
||||||
|
// FADADA_LINK = 'https://api.fadada.com/api/v5/'
|
||||||
private $apiLink = '';// 生产:https://api.fadada.com/api/v5/ 测试:https://uat-api.fadada.com/api/v5/
|
private $apiLink = '';// 生产:https://api.fadada.com/api/v5/ 测试:https://uat-api.fadada.com/api/v5/
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -129,7 +129,7 @@ class ContractDao extends BaseDao{
|
||||||
public function getAuthUrl(string $clientUserId,string $redirectMiniAppUrl){
|
public function getAuthUrl(string $clientUserId,string $redirectMiniAppUrl){
|
||||||
$bizContent = [
|
$bizContent = [
|
||||||
'clientUserId' => $clientUserId,// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
'clientUserId' => $clientUserId,// 个人用户在应用中的唯一标识,由集成方自定义,长度最大64个字符。
|
||||||
'redirectMiniAppUrl' => $redirectMiniAppUrl
|
'redirectMiniAppUrl' => urlencode($redirectMiniAppUrl)
|
||||||
];
|
];
|
||||||
return $this->requestApi($bizContent, '/user/get-auth-url');
|
return $this->requestApi($bizContent, '/user/get-auth-url');
|
||||||
}
|
}
|
||||||
|
|
@ -257,7 +257,7 @@ class ContractDao extends BaseDao{
|
||||||
// 重定向地址,系统判断在非小程序环境下会跳转至该地址。
|
// 重定向地址,系统判断在非小程序环境下会跳转至该地址。
|
||||||
// 'redirectUrl' => '',
|
// 'redirectUrl' => '',
|
||||||
// 小程序的重定向地址(微信和支付宝)
|
// 小程序的重定向地址(微信和支付宝)
|
||||||
'redirectMiniAppUrl' => $redirectMiniAppUrl,
|
'redirectMiniAppUrl' => urlencode($redirectMiniAppUrl),
|
||||||
];
|
];
|
||||||
$result = $this->requestApi($bizContent, '/sign-task/actor/get-url');
|
$result = $this->requestApi($bizContent, '/sign-task/actor/get-url');
|
||||||
if($result['code'] == 100000){
|
if($result['code'] == 100000){
|
||||||
|
|
@ -285,7 +285,7 @@ class ContractDao extends BaseDao{
|
||||||
// 应用系统中唯一确定登录用户身份的标识
|
// 应用系统中唯一确定登录用户身份的标识
|
||||||
'actorOpenId' => $config['open_corp_id'],
|
'actorOpenId' => $config['open_corp_id'],
|
||||||
// 重定向地址,系统判断在非小程序环境下会跳转至该地址。
|
// 重定向地址,系统判断在非小程序环境下会跳转至该地址。
|
||||||
'redirectUrl' => $link,
|
'redirectUrl' => urlencode($link),
|
||||||
// 小程序的重定向地址(微信和支付宝)
|
// 小程序的重定向地址(微信和支付宝)
|
||||||
// 'redirectMiniAppUrl' => '',
|
// 'redirectMiniAppUrl' => '',
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue