| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- namespace app\modules\admin\controllers;
- use app\models\Goods;
- use app\models\Option;
- use app\constants\OptionSetting;
- use app\modules\admin\models\InvoiceForm;
- class InvoiceController extends BaseController
- {
-
-
- public function actionConf(){
- $form = new InvoiceForm();
- $form->store_id = get_store_id();
- $res = $form->conf();
- return $this->asJson($res);
- }
- public function actionConfSave(){
- $conf = input_params('conf');
- $form = new InvoiceForm();
- $form->store_id = get_store_id();
- $res = $form->confSave($conf);
- return $this->asJson($res);
- }
- /**
- * 发票列表
- */
- public function actionOrderInvoiceList()
- {
- $form = new InvoiceForm();
- $form->attributes = all_params();
- $res = $form->orderInvoiceList();
- return $this->asJson($res);
- }
- public function actionOrderInvoiceStatus()
- {
- $form = new InvoiceForm();
- $form->attributes = all_params();
- $res = $form->orderInvoiceStatus();
- return $this->asJson($res);
- }
- }
|