update
This commit is contained in:
@ -91,7 +91,8 @@ var_dump($requestData);
|
||||
list($title, $desc) = call_user_func(function () use ($value, $requestData) {
|
||||
$content = $value['content'];
|
||||
|
||||
if ($requestData['platform'] == 3) {
|
||||
// 头条pc 和 wap
|
||||
if (in_array($requestData['platform'], [3, 4])) {
|
||||
$de = PHP_EOL;
|
||||
} else {
|
||||
$de = PHP_EOL . PHP_EOL;
|
||||
@ -150,6 +151,8 @@ var_dump($requestData);
|
||||
* 刷下拉数据上报
|
||||
* @url /api/expose/v1/tools/succ
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
* @throws \Psr\Container\ContainerExceptionInterface
|
||||
* @throws \Psr\Container\NotFoundExceptionInterface
|
||||
*/
|
||||
#[RequestMapping(path:'succ', methods:'post')]
|
||||
public function success(): \Psr\Http\Message\ResponseInterface
|
||||
|
@ -22,6 +22,7 @@
|
||||
<input type="checkbox" name="platform[]" value="1" title="百度PC">
|
||||
<input type="checkbox" name="platform[]" value="2" title="百度WAP">
|
||||
<input type="checkbox" name="platform[]" value="3" title="头条PC">
|
||||
<input type="checkbox" name="platform[]" value="4" title="头条WAP">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
<input type="checkbox" name="platform[]" value="1" title="百度PC">
|
||||
<input type="checkbox" name="platform[]" value="2" title="百度WAP">
|
||||
<input type="checkbox" name="platform[]" value="3" title="头条PC">
|
||||
<input type="checkbox" name="platform[]" value="4" title="头条WAP">
|
||||
{{-- <input type="checkbox" name="arr[2]" title="选项3">--}}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user