首页 暂停基金 暂停基金示例代码 暂停赎回的基金[PHP]

暂停赎回的基金示例代码[PHP]

作者: 阅读数:971 上传时间:2023-09-11

暂停赎回的基金

<?php
 
require_once 'curl.func.php';
 
$appkey = 'your_appkey_here';//你的appkey
$url = "https://api.jisuapi.com/suspendfund/redeem?appkey=yourappkey";
$result = curlOpen($url, ['ssl'=>true]);
$jsonarr = json_decode($result, true);
//exit(var_dump($jsonarr));
if($jsonarr['status'] != 0)
{
    echo $jsonarr['msg'];
    exit();
}
$result = $jsonarr['result'];