Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
Akr-on committed Sep 10, 2024
1 parent 22f1b03 commit 5ccdde1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rainyunrcs/rainyunrcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ function rainyunrcs_ConfigOptions()
return [
["type" => "text", "name" => "plan_id", "description" => "*套餐ID(必填)", "key" => "plan_id"],
["type" => "text", "name" => "os_id", "description" => "*系统镜像ID(必填)", "key" => "os_id"],
["type" => "text", "name" => "try", "description" => "是否试用(true/false)", "default" => "false", "key" => "try"],
["type" => "text", "name" => "with_eip_num", "description" => "独立ip数(选填)", "default" => "0", "key" => "with_eip_num"],
["type" => "text", "name" => "with_coupon_id", "description" => "优惠券id(选填)", "default" => "0", "key" => "with_coupon_id"],
["type" => "text", "name" => "disk_ssd_unit_price", "description" => "高速固态单价(每G每月)", "default" => "0.4", "key" => "disk_ssd_unit_price"],
Expand Down Expand Up @@ -452,9 +451,6 @@ function rainyunrcs_CreateAccount($params)
} else {
$eip = $params["configoptions"]["with_eip_num"];
}
if($params["configoptions"]["try"]==="true"){
$try = $params["configoptions"]["try"];
}
if(empty($try)){
$try = "false";
}
Expand Down

0 comments on commit 5ccdde1

Please sign in to comment.