|
|
@@ -563,7 +563,13 @@ class StoreProduct extends BaseModel
|
|
|
$storeBrokerageRatio = 0;
|
|
|
}
|
|
|
}else{
|
|
|
- $storeBrokerageRatio = 10;
|
|
|
+ if ($user['identity'] == 1){
|
|
|
+ $storeBrokerageRatio = 10;
|
|
|
+ }elseif ($user['identity'] == 2){
|
|
|
+ $storeBrokerageRatio = 15;
|
|
|
+ }else{
|
|
|
+ $storeBrokerageRatio = 0;
|
|
|
+ }
|
|
|
}
|
|
|
//一级返佣比例 小于等于零时直接返回 不返佣
|
|
|
if ($storeBrokerageRatio <= 0) {
|