提交 ea6070d9 作者: 翁进城

发布需求去除userid参数

上级 24d917c8
...@@ -6,7 +6,6 @@ export interface TypeResp { ...@@ -6,7 +6,6 @@ export interface TypeResp {
} }
export interface PublishParams { export interface PublishParams {
userAccountId: number; //账号id
publishPhone: number; //手机号 publishPhone: number; //手机号
publishName: string; //发布名称 publishName: string; //发布名称
requirementTypeId: number; //需求类型 requirementTypeId: number; //需求类型
......
...@@ -11,7 +11,6 @@ type Props = { ...@@ -11,7 +11,6 @@ type Props = {
export default function PublishModal(props: Props) { export default function PublishModal(props: Props) {
const [types, setTypes] = useState<Array<TypeResp>>([]); //需求类型 const [types, setTypes] = useState<Array<TypeResp>>([]); //需求类型
const [params, setParams] = useState<PublishParams>({ const [params, setParams] = useState<PublishParams>({
userAccountId: -1,
publishName: "", publishName: "",
publishPhone: -1, publishPhone: -1,
requireDescription: "", requireDescription: "",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论