Commit caa8fb9e authored by hezhen's avatar hezhen

修改拥金比例

parent e57773ea
......@@ -1789,6 +1789,7 @@ class longbing_companyModuleWxapp extends WeModuleWxapp
return $this->result(-1, '', array());
}
public function doPageFormid()
{
$this->cross();
......@@ -9825,11 +9826,15 @@ class longbing_companyModuleWxapp extends WeModuleWxapp
$user = pdo_get('longbing_company_user', array('id' => $user_id));
if (!$user) {
if (!$user||$user['is_staff']==1) {
return false;
}
if ($user['pid'] && $config['first_extract']) {
$user1 = pdo_get('longbing_company_user', array('id' => $user['pid']));
if(!$user1||$user1['is_staff']!=1){
return false;
}
$check_first = pdo_get('longbing_company_selling_profit', array('user_id' => $user['pid']));
$staff = pdo_get('longbing_company_user', array('id' => $user['pid']));
if (!$check_first) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment