修正发货单表单构建错误

This commit is contained in:
乐风 2021-03-01 03:17:11 +08:00
parent eebbdf279e
commit 8f5b66bb92
4 changed files with 80 additions and 101 deletions

View File

@ -11,17 +11,6 @@ use Gdoo\Index\Models\Notification;
class ApiController extends Controller class ApiController extends Controller
{ {
/**
* jq导出xls
*/
public function jqexportAction()
{
$gets = Request::all();
$data = urldecode($gets['data']);
$rows = json_decode($data, true);
return writeExcel($rows['thead'], $rows['tbody'], 'jqexport');
}
/** /**
* 初始化JS输出 * 初始化JS输出
*/ */
@ -117,7 +106,7 @@ class ApiController extends Controller
*/ */
public function dictAction() public function dictAction()
{ {
$key = Request::get('key'); $key = Request::get('key');
$rows = option($key); $rows = option($key);
return response()->json($rows)->setEncodingOptions(JSON_UNESCAPED_UNICODE); return response()->json($rows)->setEncodingOptions(JSON_UNESCAPED_UNICODE);
} }
@ -127,7 +116,7 @@ class ApiController extends Controller
*/ */
public function optionAction() public function optionAction()
{ {
$key = Request::get('key'); $key = Request::get('key');
$rows = option($key); $rows = option($key);
return response()->json($rows)->setEncodingOptions(JSON_UNESCAPED_UNICODE); return response()->json($rows)->setEncodingOptions(JSON_UNESCAPED_UNICODE);
} }

View File

@ -11,7 +11,6 @@ use Gdoo\Index\Models\Notification;
class DemoController extends Controller class DemoController extends Controller
{ {
#[Attribute(Attribute::TARGET_FUNCTION)] #[Attribute(Attribute::TARGET_FUNCTION)]
public function vouchAction() public function vouchAction()
{ {

View File

@ -13,7 +13,6 @@ class IndexController extends DefaultController
'info', 'info',
'badge', 'badge',
'badges', 'badges',
'help',
'index', 'index',
'unsupportedBrowser', 'unsupportedBrowser',
'support', 'support',
@ -27,17 +26,6 @@ class IndexController extends DefaultController
]); ]);
} }
public function infoAction()
{
return InfoService::getInfo("abv");
}
// 首页登录指南页面
public function helpAction()
{
return $this->render();
}
// 技术支持 // 技术支持
public function supportAction() public function supportAction()
{ {

File diff suppressed because one or more lines are too long