|
@@ -31,17 +31,17 @@ use think\App;class CatPlat extends Base{
|
|
|
if($rate==""){
|
|
|
return error_show(1004,"参数 rate 不能为空");
|
|
|
}
|
|
|
- $origin_rate =isset($post['origin_rate'])&&$post['origin_rate']!=="" ? floor($post['origin_rate']):"";
|
|
|
- if($origin_rate==""){
|
|
|
- return error_show(1004,"参数 origin_rate 不能为空");
|
|
|
+ $order_rate =isset($post['order_rate'])&&$post['order_rate']!=="" ? floor($post['order_rate']):"";
|
|
|
+ if($order_rate==""){
|
|
|
+ return error_show(1004,"参数 order_rate 不能为空");
|
|
|
}
|
|
|
- $charge_rate =isset($post['charge_rate'])&&$post['charge_rate']!=="" ? floor($post['charge_rate']):"";
|
|
|
- if($charge_rate==""){
|
|
|
- return error_show(1004,"参数 charge_rate 不能为空");
|
|
|
+ $money_rate =isset($post['money_rate'])&&$post['money_rate']!=="" ? floor($post['money_rate']):"";
|
|
|
+ if($money_rate==""){
|
|
|
+ return error_show(1004,"参数 money_rate 不能为空");
|
|
|
}
|
|
|
- $financial_rate =isset($post['financial_rate'])&&$post['financial_rate']!=="" ? floor($post['financial_rate']):"";
|
|
|
- if($financial_rate==""){
|
|
|
- return error_show(1004,"参数 financial_rate 不能为空");
|
|
|
+ $sale_rate =isset($post['sale_rate'])&&$post['sale_rate']!=="" ? floor($post['sale_rate']):"";
|
|
|
+ if($sale_rate==""){
|
|
|
+ return error_show(1004,"参数 sale_rate 不能为空");
|
|
|
}
|
|
|
$low_rate =isset($post['low_rate'])&&$post['low_rate']!=="" ? floor($post['low_rate']):"";
|
|
|
if($low_rate==""){
|
|
@@ -55,9 +55,9 @@ use think\App;class CatPlat extends Base{
|
|
|
"cat_id"=>$catid,
|
|
|
"platform_id"=>$plat_id,
|
|
|
"rate"=>$rate,
|
|
|
- "origin_rate"=>$origin_rate,
|
|
|
- "charge_rate"=>$charge_rate,
|
|
|
- "financial_rate"=>$financial_rate,
|
|
|
+ "order_rate"=>$order_rate,
|
|
|
+ "money_rate"=>$money_rate,
|
|
|
+ "sale_rate"=>$sale_rate,
|
|
|
"low_rate"=>$low_rate,
|
|
|
"fund_code"=>$fund_code,
|
|
|
"status"=>1,
|
|
@@ -106,17 +106,17 @@ use think\App;class CatPlat extends Base{
|
|
|
if($ist!=false){
|
|
|
return error_show(1004,"该平台下已存在此分类");
|
|
|
}
|
|
|
- $origin_rate =isset($post['origin_rate'])&&$post['origin_rate']!=="" ? floor($post['origin_rate']):"";
|
|
|
- if($origin_rate==""){
|
|
|
- return error_show(1004,"参数 origin_rate 不能为空");
|
|
|
+ $order_rate =isset($post['order_rate'])&&$post['order_rate']!=="" ? floor($post['order_rate']):"";
|
|
|
+ if($order_rate==""){
|
|
|
+ return error_show(1004,"参数 order_rate 不能为空");
|
|
|
}
|
|
|
- $charge_rate =isset($post['charge_rate'])&&$post['charge_rate']!=="" ? floor($post['charge_rate']):"";
|
|
|
- if($charge_rate==""){
|
|
|
- return error_show(1004,"参数 charge_rate 不能为空");
|
|
|
+ $money_rate =isset($post['money_rate'])&&$post['money_rate']!=="" ? floor($post['money_rate']):"";
|
|
|
+ if($money_rate==""){
|
|
|
+ return error_show(1004,"参数 money_rate 不能为空");
|
|
|
}
|
|
|
- $financial_rate =isset($post['financial_rate'])&&$post['financial_rate']!=="" ? floor($post['financial_rate']):"";
|
|
|
- if($financial_rate==""){
|
|
|
- return error_show(1004,"参数 financial_rate 不能为空");
|
|
|
+ $sale_rate =isset($post['sale_rate'])&&$post['sale_rate']!=="" ? floor($post['sale_rate']):"";
|
|
|
+ if($sale_rate==""){
|
|
|
+ return error_show(1004,"参数 sale_rate 不能为空");
|
|
|
}
|
|
|
$low_rate =isset($post['low_rate'])&&$post['low_rate']!=="" ? floor($post['low_rate']):"";
|
|
|
if($low_rate==""){
|
|
@@ -130,9 +130,9 @@ use think\App;class CatPlat extends Base{
|
|
|
"cat_id"=>$catid,
|
|
|
"platform_id"=>$plat_id,
|
|
|
"rate"=>$rate,
|
|
|
- "origin_rate"=>$origin_rate,
|
|
|
- "charge_rate"=>$charge_rate,
|
|
|
- "financial_rate"=>$financial_rate,
|
|
|
+ "order_rate"=>$order_rate,
|
|
|
+ "money_rate"=>$money_rate,
|
|
|
+ "sale_rate"=>$sale_rate,
|
|
|
"low_rate"=>$low_rate,
|
|
|
"fund_code"=>$fund_code,
|
|
|
"apply_id"=>$this->uid,
|