Commit d078d860 authored by hangjun83's avatar hangjun83

财务开票模块更新]

parent c5cf3a1f
......@@ -3,6 +3,7 @@
namespace App\Http\Controllers\V1\Finance;
use App\Finance\Services\InvoiceService;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiannei\Response\Laravel\Support\Facades\Response;
use App\Http\Controllers\V1\Controller;
......@@ -49,6 +50,13 @@ class InvoiceController extends Controller
if($decodeContent){
$requestParams = $this->formatKeysfromArray(json_decode($decodeContent,true),'toUnderScore');
$result = $this->invoiceService->apiCallBack($requestParams);
if($result){
return response()->json([
'code' => '0',
'message' => '成功',
'renson' => ''
]);
}
}
}
}
......
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