作者 王智

222

@@ -135,7 +135,6 @@ class Invoice extends Api @@ -135,7 +135,6 @@ class Invoice extends Api
135 'company_tel' => '', 135 'company_tel' => '',
136 'invoice_address' => '', 136 'invoice_address' => '',
137 ]; 137 ];
138 - $return['ISCom'] = 0;  
139 } else { 138 } else {
140 $team_company_arr = Db::name('company')->where(['id' => $is_team])->find(); 139 $team_company_arr = Db::name('company')->where(['id' => $is_team])->find();
141 $company_list = [ 140 $company_list = [
@@ -146,7 +145,6 @@ class Invoice extends Api @@ -146,7 +145,6 @@ class Invoice extends Api
146 'company_tel' => $team_company_arr['company_tel'], 145 'company_tel' => $team_company_arr['company_tel'],
147 'invoice_address' => $team_company_arr['invoice_address'], 146 'invoice_address' => $team_company_arr['invoice_address'],
148 ]; 147 ];
149 - $return['ISCom'] = 1;  
150 } 148 }
151 } else { 149 } else {
152 $company_arr = Db::name('company')->where(['id' => $is_company])->find(); 150 $company_arr = Db::name('company')->where(['id' => $is_company])->find();
@@ -158,7 +156,6 @@ class Invoice extends Api @@ -158,7 +156,6 @@ class Invoice extends Api
158 'company_tel' => $company_arr['company_tel'], 156 'company_tel' => $company_arr['company_tel'],
159 'invoice_address' => $company_arr['invoice_address'], 157 'invoice_address' => $company_arr['invoice_address'],
160 ]; 158 ];
161 - $return['ISCom'] = 1;  
162 } 159 }
163 $ziliao = Db::name('invoice_ziliao')->where(['user_id' => $user_id])->find(); 160 $ziliao = Db::name('invoice_ziliao')->where(['user_id' => $user_id])->find();
164 if (empty($ziliao)) { 161 if (empty($ziliao)) {
@@ -170,7 +167,6 @@ class Invoice extends Api @@ -170,7 +167,6 @@ class Invoice extends Api
170 'invoice_head' => '' 167 'invoice_head' => ''
171 168
172 ]; 169 ];
173 - $return['ISUse'] = 0;  
174 } else { 170 } else {
175 $user_list = [ 171 $user_list = [
176 'shou' => $ziliao['shou'], 172 'shou' => $ziliao['shou'],
@@ -179,7 +175,6 @@ class Invoice extends Api @@ -179,7 +175,6 @@ class Invoice extends Api
179 'address_con' => $ziliao['address_con'], 175 'address_con' => $ziliao['address_con'],
180 'invoice_head' => $ziliao['invoice_head'] 176 'invoice_head' => $ziliao['invoice_head']
181 ]; 177 ];
182 - $return['ISUse'] = 1;  
183 } 178 }
184 $return['company_list'] = $company_list; 179 $return['company_list'] = $company_list;
185 $return['user_list'] = $user_list; 180 $return['user_list'] = $user_list;