You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
646 B
JavaScript
26 lines
646 B
JavaScript
import request from '@/utils/request'
|
|
|
|
//获取一百个随机hash值
|
|
export const getHundredHash=()=> {
|
|
return request({
|
|
url: '/api/stu/technology/blockchain/consensus/getRandomNumber',
|
|
method: 'post',
|
|
})
|
|
}
|
|
|
|
//动态折线图
|
|
export const getDynamicLineChart=()=> {
|
|
return request({
|
|
url: '/api/stu/technology/blockchain/consensus/getDynamicLineChart',
|
|
method: 'post',
|
|
})
|
|
}
|
|
|
|
//提交任务
|
|
export const submitTrainingTask=(data)=> {
|
|
return request({
|
|
url: '/api/stu/technology/blockchain/consensus/technologyTrainingConsensusTaskSubmission',
|
|
method: 'post',
|
|
data:data
|
|
})
|
|
} |