12-23-上传master

This commit is contained in:
xingsy
2020-12-23 11:14:35 +08:00
parent 9769f83bc8
commit b42e0c1ddd
553 changed files with 56506 additions and 0 deletions

22
src/models/xsyModel.ts Normal file
View File

@ -0,0 +1,22 @@
export default {
namespace: 'xsyModel',
state: {
sectionId: '',
turnId: '',
},
effects: {
*fetchSecIdTurnId({ payload, callback }:any, { call, put }:any) {
const params = { sectionId: payload.sectionId, turnId: payload.turnId };
yield put({ type: 'save', payload: params })
}
},
reducers: {
save(state: any, { payload }: any) {
return {
sectionId:payload.sectionId,
turnId:payload.turnId,
}
}
}
}