修改添加签章配置重复问题
This commit is contained in:
@@ -370,7 +370,33 @@ class TestController extends AbstractController
|
||||
}
|
||||
|
||||
public function test_15(){
|
||||
$a = new Data();
|
||||
$a->product();
|
||||
$env_version = "release";
|
||||
$app_env = \Hyperf\Support\env("APP_ENV",'dev');
|
||||
if ($app_env == "dev"){
|
||||
$env_version = "trial";
|
||||
}
|
||||
|
||||
$options = [
|
||||
"jump_wxa" => [
|
||||
"path" => "pages/expertDetail/expertDetail",
|
||||
"query" => "doctor_id=539452507563012096",
|
||||
"env_version" => $env_version,
|
||||
],
|
||||
|
||||
"expire_type" => 1,
|
||||
"expire_interval" => 1,
|
||||
|
||||
];
|
||||
|
||||
$Wechat = new Wechat(1);
|
||||
$result = $Wechat->createUrlScheme($options);
|
||||
dump($result);
|
||||
|
||||
$options = [
|
||||
"scheme" => $result['openlink']
|
||||
];
|
||||
|
||||
$result = $Wechat->getUrlScheme($options);
|
||||
dump($result);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user