超算_充值
接口地址:https://passport.nchu.edu.cn/API/API.ashx
方法名称:
接口介绍:
====超算充值=======
接口:https://passport.nchu.edu.cn/api/api.ashx?action=MakeHPCDeposit&siteid=[站点ID]
Post数据:
account=[超算账户]&accountId=[超算用户ID]&walltime=[充值机时]&description=[备注(请urlencode)]&nchusso=[cookies令牌]
正确返回:
{"code": 0,"msg":""}
失败返回:
{"code": -1,"msg":"原因"}
====超算剩余机时=======
接口:https://passport.nchu.edu.cn/api/api.ashx?action=GetHPCAccountAmount&siteid=[站点ID]
Post数据:
account=[超算账户]&nchusso=[cookies令牌]
正确返回:
{"code": 0,"msg":""}
失败返回:
{"code": -1,"msg":"原因"}