Commit a1cb8b20 authored by hj's avatar hj

更新提交

parent d3f01da2
......@@ -86,7 +86,7 @@ abstract class Controller extends BaseController
protected function checkCustomerType($customerCode,$type)
{
$customer = app(CustomerService::class)->getPlatformCustomer(['cus_number' => $customerCode]);
$customer = app(CustomerService::class)->getPlatformCustomer(['cus_number' => $customerCode, 'cus_type' => $type]);
if($customer){
if($customer['cus_type'] != $type){
switch($type){
......
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