feat: job publish

This commit is contained in:
chashaobao
2025-07-28 23:35:51 +08:00
parent 260e543fe6
commit 1c1bb146fc
15 changed files with 167 additions and 19 deletions

19
src/store/reducers/job.ts Normal file
View File

@ -0,0 +1,19 @@
import { Action } from 'redux';
import { CreateJobInfo } from '@/types/job';
import { CREATE_JOB } from '../constants';
const INIT_STATE: Partial<CreateJobInfo> = {};
const userInfo = (state: Partial<CreateJobInfo> = INIT_STATE, action: Action): Partial<CreateJobInfo> => {
const { type, value } = action as BL.Anything;
switch (type) {
case CREATE_JOB:
return value;
default:
return state;
}
};
export default userInfo;