更新使用1201接口
This commit is contained in:
@@ -503,12 +503,11 @@ const UI7: React.FC = () => {
|
||||
|
||||
const sign = async () => {
|
||||
const physical_exam_id = localStorage.getItem("selectedExamId");
|
||||
const package_code = localStorage.getItem("package_code");
|
||||
if (!physical_exam_id || !package_code) {
|
||||
alert("体检ID或套餐代码不存在");
|
||||
if (!physical_exam_id) {
|
||||
alert("体检ID不存在");
|
||||
return;
|
||||
}
|
||||
const res = await signIn(Number(physical_exam_id), Number(package_code));
|
||||
const res = await signIn(Number(physical_exam_id));
|
||||
if (res.Status === 200) {
|
||||
if (res.Data.is_success === 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user