Commit a040357b authored by huangqiang's avatar huangqiang

完成套餐接口自动化

parent 4c818ac9
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="ceb24b37-65a1-4b3f-be3f-7040ebc4079d" name="默认变更列表" comment="">
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_jksxb_app/user_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_jksxb_mini/__init__.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_jksxb_mini/user_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_operation_web/__init__.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_operation_web/student_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/gos/__init__.py" afterDir="false" />
<list default="true" id="ceb24b37-65a1-4b3f-be3f-7040ebc4079d" name="默认变更列表" comment="Merge remote-tracking branch 'origin/liuqin_jyy'&#10;&#10;# Conflicts:&#10;#&#9;.idea/workspace.xml&#10;#&#9;common/__pycache__/__init__.cpython-37.pyc&#10;#&#9;common/__pycache__/common_config.cpython-37.pyc&#10;#&#9;common/__pycache__/common_util.cpython-37.pyc&#10;#&#9;common/__pycache__/connect_db.cpython-37.pyc&#10;#&#9;common/__pycache__/run_method.cpython-37.pyc&#10;#&#9;run.py&#10;#&#9;script/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/__pycache__/conftest.cpython-37-pytest-6.2.1.pyc&#10;#&#9;script/__pycache__/db_config.cpython-37.pyc&#10;#&#9;script/__pycache__/defalut_account.cpython-37.pyc&#10;#&#9;script/__pycache__/default_header.cpython-37.pyc&#10;#&#9;script/__pycache__/public_asserts.cpython-37.pyc&#10;#&#9;script/base_api/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/department.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/employee.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/permission.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/role.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/coursePreview.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/playVideo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/buryData.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/goods.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/idea.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/productExamination.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/share.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/zan.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/back_clue.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/classroom.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/clue.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/employee.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/lost_communicate_record.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/memberships.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/public.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/staging.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/statistics.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/students.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/big_screen.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/charge.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/discount.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/expense.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/introduce.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/renewal.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/report.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/ruleSetting.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/share.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/periodical.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/periodicalManage.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/regime.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/regimeManage.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/coursePreview.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/message.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/agency.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/back_clue.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/clue.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/communicate.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/crm.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/customMessage.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/customMessageItem.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/dict.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/direct.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/document.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentDirectory.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentRecord.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentTag.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/enum.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lostStudent.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lostWarning.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lost_communicate_record.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/school.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/staging.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/systemMessage.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/systemMessageItem.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/clue.py&#10;#&#9;script/base_api/service_descartes/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_descartes/__pycache__/examine.cpython-37.pyc&#10;#&#9;script/base_api/service_descartes/__pycache__/lessons.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/batch.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/batchClass.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classCapacity.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classDirector.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/education.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/jst_home.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/system.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/handCash.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/v2.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/web.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/carousel.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/diagnosis.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/goods.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/gos.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/gos_api.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/group.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/package.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/shareEvent.cpython-37.pyc&#10;#&#9;script/base_api/service_idea/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_idea/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/service_identity/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_identity/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/discount.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/orderRuleSetting.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/order_api.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/orders.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/payments.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/schedule.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/bill.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/callback.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/refund.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/weChat.cpython-37.pyc&#10;#&#9;script/base_api/service_pigeon/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_pigeon/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/attendances.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classChange.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classHourChange.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/class_.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classfeedback.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/courseNote.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/course_notes.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/external.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/feedback.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/feedbackType.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/geekPreviewReport.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/login.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/manualSchedule.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/memberships.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/parent.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/performances.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/plaso.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/public.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/purchaseOrder.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/pushRelationship.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/schedules.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/student.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/students.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/studtent.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/teachers.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/transfer_records.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/transferred.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/userCheckpoint.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/videoPlayAddress.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/backup.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/baseParam.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/check_recommit.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/cos.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/customHeader.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/entranceExam.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/notice.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/notices.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/preview.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/qrcode.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/resource.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/schools.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/src.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/systemSetting.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/targets.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/upload.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/version.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/vod.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/admission.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/basic_training.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/chapter_tree.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/exam.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/examination.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/jst.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/materialContribution.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/monthExamination.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/online.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/questionMaterial.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_bank.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_jst.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_source.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_video.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReport.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportDayly.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportOfAll.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportTeacherByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getExpensesByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/login.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/loginInternal.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/report.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/src.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/attendClass.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/cloudDiskController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/courseWareEvaluateController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/courseWareScoreController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/dowLogController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/examination.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/periodical.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/prepar.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/prepareLessons.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/preview.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/question_bank.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/research.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_exercise.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_exercises.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_plan.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_plans.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/video.cpython-37.pyc&#10;#&#9;script/base_api/service_science/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_science/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/upload.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/geekData.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/sa.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/statistics.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/classFeeRating.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/teacherValueController.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/teacherValueRank.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/auth.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/batchEmp.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/company.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/departments.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/ding.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/dingAuth.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/employees.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/masterKey.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/menuTree.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/metrics.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permission.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissionGroup.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissionGroups.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permission_groups.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissions.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/plaso.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/roles.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/teachers.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/token.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/user_api.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/users.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/verificationCode.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/workbench.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/wxMini.cpython-37.pyc&#10;#&#9;script/ji_yun_ying_pc/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/ji_yun_ying_pc/__pycache__/conftest.cpython-37-pytest-6.2.1.pyc&#10;#&#9;script/public_asserts.py">
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_jksxb_app/jz_user_operation.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_operation_web/coupon_operation.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_operation_web/goods_operation.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/api_operation_web/package_operaion.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/base_api_data/service_education/courses_operation.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/global_data_config/add_coupon_method.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/global_data_config/student_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/__init__.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/category_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/coupon_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/goods_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/mall_data.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/package_data.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/common/connect_db.py" beforeDir="false" afterPath="$PROJECT_DIR$/common/connect_db.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/common/run_method.py" beforeDir="false" afterPath="$PROJECT_DIR$/common/run_method.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/app.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/14da9118d422a9dc.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/3b9086eca6ff06ea.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/3e9bc86c8acc3b22.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/444817af8e7684f6.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/4ea1728c0658c32c.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/6d6df6f6573a01f9.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/710872720a634ad7.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/7e178131c573a57a.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/91c7f4ce702e2ac3.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/9e6ca68a6f680c6a.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/a33b710fd6703fb3.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/a7452f28eb295275.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/be405e94598d45c5.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/cdc51e47914f2279.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/e0f50436a0c33abe.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/attachments/fe1f1763a5f27266.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/behaviors.csv" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/behaviors.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/categories.csv" beforeDir="false" afterPath="$PROJECT_DIR$/script/base_api_data/api_jksxb_app/__init__.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/categories.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/packages.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/suites.csv" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/suites.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/test-cases/58b2d1eba49bbdc8.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/test-cases/7c47e66b9a8caa8.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/data/timeline.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/export/influxDbData.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/export/mail.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/export/prometheusData.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/favicon.ico" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/history/categories-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/history/duration-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/history/history-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/history/history.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/history/retry-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/index.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/plugins/behaviors/index.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/plugins/packages/index.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/plugins/screen-diff/index.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/plugins/screen-diff/styles.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/styles.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/behaviors.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/categories-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/categories.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/duration-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/duration.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/environment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/executors.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/history-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/launch.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/retry-trend.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/severity.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/status-chart.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/suites.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/html/widgets/summary.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/0772ef5f-b686-4839-b9ba-58f9d8653504-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/15c09108-ab56-4993-b252-14b371722a42-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/16cd15a4-b8f4-406f-8e5c-ca508242acbc-container.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/1e176c4e-65aa-4133-aade-3810ac3ab275-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/229c31d3-d216-4661-b10e-a67d8c9c6f5e-container.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/534a6b3a-89ea-436f-8441-1e954e8454ae-container.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/705e8ad3-b21b-45d0-b9f4-ee349a57df45-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/7479df5f-1b7b-4294-9f89-c6dd9d3b7bb7-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/77de16ef-dbb7-44b4-b22e-b39211c8b9cd-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/78e3a870-749d-4645-b930-656411fb7514-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/8eb4831a-dd81-435a-b9b4-f8000ffbdb5e-container.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/90f839ce-a5dd-4570-9a60-eabaedee780b-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/9286abf6-bafe-435b-a007-c50c9761b193-attachment.txt" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/99cccb7c-d552-47c0-acf1-697539a095ef-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/9e140b1d-f210-4e09-baa6-574807cf8300-container.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/c0fcf00a-8514-427d-b7a3-a7e8c40af247-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/cb5d2602-c49f-4e6f-bde1-a0a3d3a3eaa7-result.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/cf66dd8e-659d-43a2-9cdd-3fa39fb959da-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/d214bb6d-6e5a-4994-8484-2e84973c60ec-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/d5f8cb07-6ae3-4ffc-87fb-0c139b0e0893-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/de5479e2-1a56-4e5f-b521-0d33c70b3740-result.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/dff154b5-7927-430d-ab28-44bcaa540b4c-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/report/xml/ee798b7a-7e69-4042-9b85-0e0006567f78-attachment.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/run_cmd.py" beforeDir="false" afterPath="$PROJECT_DIR$/run_cmd.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/base_api/api_operation_web/goods.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/base_api/api_operation_web/goods.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/base_api/service_user/employees.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/base_api/service_user/employees.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/conftest.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/conftest.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/db_config.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/db_config.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/defalut_account.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/defalut_account.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/common/common_util.py" beforeDir="false" afterPath="$PROJECT_DIR$/common/common_util.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/base_api_data/api_jksxb_app/user_data.py" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/script/base_api_data/api_jksxb_mini/user_data.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/base_api_data/api_jksxb_mini/gos_user_operation.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/base_api_data/api_operation_web/student_data.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/base_api_data/api_operation_web/student_operation.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/global_data_config/date_data.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/global_data_config/date_data.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/global_data_config/global_data.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/global_data_config/global_data.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/global_data_config/province_code.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/global_data_config/province_code_data.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_category.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_category.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tools/init_base_api.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/init_base_api.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_coupons.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_coupons.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_goods.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_goods.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_package.py" beforeDir="false" afterPath="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/test_package.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tools/create_case.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/create_case.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tools/url_to_method.py" beforeDir="false" afterPath="$PROJECT_DIR$/tools/url_to_method.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
......@@ -151,8 +81,8 @@
<recent name="$PROJECT_DIR$/script/ding_ding_jdata/full_class_rate/assert_config" />
</key>
</component>
<component name="RunManager" selected="Python.url_to_method">
<configuration name="db_config" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<component name="RunManager" selected="Python.courses_operation">
<configuration name="courses_operation" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="jk_interface_test" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
......@@ -160,11 +90,11 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/script" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/script/base_api_data/service_education" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/script/db_config.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/script/base_api_data/service_education/courses_operation.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
......@@ -173,7 +103,7 @@
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="debug" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<configuration name="goods_data" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="jk_interface_test" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
......@@ -181,11 +111,11 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/test" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/test/debug.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/goods_data.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
......@@ -194,7 +124,7 @@
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="defalut_account" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<configuration name="mall_data" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="jk_interface_test" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
......@@ -202,11 +132,11 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/script" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/script/defalut_account.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/mall_data.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
......@@ -215,7 +145,7 @@
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="run_cmd" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<configuration name="package_data" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="jk_interface_test" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
......@@ -223,11 +153,11 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/run_cmd.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/script/ji_yun_ying_pc/mall/store_shopping_mall/data_cofig/package_data.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
......@@ -258,19 +188,19 @@
<method v="2" />
</configuration>
<list>
<item itemvalue="Python.debug" />
<item itemvalue="Python.mall_data" />
<item itemvalue="Python.goods_data" />
<item itemvalue="Python.package_data" />
<item itemvalue="Python.url_to_method" />
<item itemvalue="Python.run_cmd" />
<item itemvalue="Python.db_config" />
<item itemvalue="Python.defalut_account" />
<item itemvalue="Python.courses_operation" />
</list>
<recent_temporary>
<list>
<item itemvalue="Python.courses_operation" />
<item itemvalue="Python.url_to_method" />
<item itemvalue="Python.run_cmd" />
<item itemvalue="Python.db_config" />
<item itemvalue="Python.defalut_account" />
<item itemvalue="Python.debug" />
<item itemvalue="Python.package_data" />
<item itemvalue="Python.goods_data" />
<item itemvalue="Python.mall_data" />
</list>
</recent_temporary>
</component>
......@@ -301,4 +231,15 @@
<MESSAGE value="Merge remote-tracking branch 'origin/liuqin_jyy'&#10;&#10;# Conflicts:&#10;#&#9;.idea/workspace.xml&#10;#&#9;common/__pycache__/__init__.cpython-37.pyc&#10;#&#9;common/__pycache__/common_config.cpython-37.pyc&#10;#&#9;common/__pycache__/common_util.cpython-37.pyc&#10;#&#9;common/__pycache__/connect_db.cpython-37.pyc&#10;#&#9;common/__pycache__/run_method.cpython-37.pyc&#10;#&#9;run.py&#10;#&#9;script/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/__pycache__/conftest.cpython-37-pytest-6.2.1.pyc&#10;#&#9;script/__pycache__/db_config.cpython-37.pyc&#10;#&#9;script/__pycache__/defalut_account.cpython-37.pyc&#10;#&#9;script/__pycache__/default_header.cpython-37.pyc&#10;#&#9;script/__pycache__/public_asserts.cpython-37.pyc&#10;#&#9;script/base_api/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/department.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/employee.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/permission.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/role.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/coursePreview.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/playVideo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/buryData.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/goods.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/idea.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/productExamination.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/share.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/zan.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/back_clue.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/classroom.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/clue.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/employee.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/lost_communicate_record.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/memberships.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/public.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/staging.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/statistics.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/students.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/big_screen.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/charge.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/discount.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/expense.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/introduce.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/renewal.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/report.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/ruleSetting.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/share.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/periodical.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/periodicalManage.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/regime.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/regimeManage.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/coursePreview.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/message.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/agency.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/back_clue.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/clue.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/communicate.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/crm.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/customMessage.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/customMessageItem.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/dict.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/direct.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/document.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentDirectory.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentRecord.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentTag.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/enum.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lostStudent.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lostWarning.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lost_communicate_record.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/school.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/staging.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/systemMessage.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/systemMessageItem.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/clue.py&#10;#&#9;script/base_api/service_descartes/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_descartes/__pycache__/examine.cpython-37.pyc&#10;#&#9;script/base_api/service_descartes/__pycache__/lessons.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/batch.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/batchClass.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classCapacity.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classDirector.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/education.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/jst_home.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/system.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/handCash.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/v2.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/web.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/carousel.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/diagnosis.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/goods.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/gos.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/gos_api.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/group.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/package.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/shareEvent.cpython-37.pyc&#10;#&#9;script/base_api/service_idea/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_idea/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/service_identity/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_identity/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/discount.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/orderRuleSetting.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/order_api.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/orders.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/payments.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/schedule.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/bill.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/callback.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/refund.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/weChat.cpython-37.pyc&#10;#&#9;script/base_api/service_pigeon/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_pigeon/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/attendances.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classChange.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classHourChange.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/class_.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classfeedback.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/courseNote.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/course_notes.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/external.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/feedback.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/feedbackType.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/geekPreviewReport.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/login.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/manualSchedule.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/memberships.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/parent.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/performances.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/plaso.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/public.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/purchaseOrder.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/pushRelationship.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/schedules.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/student.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/students.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/studtent.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/teachers.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/transfer_records.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/transferred.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/userCheckpoint.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/videoPlayAddress.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/backup.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/baseParam.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/check_recommit.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/cos.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/customHeader.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/entranceExam.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/notice.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/notices.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/preview.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/qrcode.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/resource.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/schools.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/src.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/systemSetting.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/targets.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/upload.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/version.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/vod.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/admission.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/basic_training.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/chapter_tree.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/exam.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/examination.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/jst.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/materialContribution.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/monthExamination.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/online.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/questionMaterial.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_bank.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_jst.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_source.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_video.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReport.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportDayly.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportOfAll.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportTeacherByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getExpensesByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/login.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/loginInternal.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/report.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/src.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/attendClass.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/cloudDiskController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/courseWareEvaluateController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/courseWareScoreController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/dowLogController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/examination.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/periodical.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/prepar.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/prepareLessons.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/preview.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/question_bank.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/research.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_exercise.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_exercises.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_plan.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_plans.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/video.cpython-37.pyc&#10;#&#9;script/base_api/service_science/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_science/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/upload.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/geekData.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/sa.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/statistics.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/classFeeRating.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/teacherValueController.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/teacherValueRank.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/auth.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/batchEmp.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/company.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/departments.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/ding.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/dingAuth.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/employees.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/masterKey.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/menuTree.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/metrics.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permission.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissionGroup.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissionGroups.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permission_groups.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissions.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/plaso.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/roles.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/teachers.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/token.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/user_api.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/users.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/verificationCode.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/workbench.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/wxMini.cpython-37.pyc&#10;#&#9;script/ji_yun_ying_pc/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/ji_yun_ying_pc/__pycache__/conftest.cpython-37-pytest-6.2.1.pyc&#10;#&#9;script/public_asserts.py" />
<option name="LAST_COMMIT_MESSAGE" value="Merge remote-tracking branch 'origin/liuqin_jyy'&#10;&#10;# Conflicts:&#10;#&#9;.idea/workspace.xml&#10;#&#9;common/__pycache__/__init__.cpython-37.pyc&#10;#&#9;common/__pycache__/common_config.cpython-37.pyc&#10;#&#9;common/__pycache__/common_util.cpython-37.pyc&#10;#&#9;common/__pycache__/connect_db.cpython-37.pyc&#10;#&#9;common/__pycache__/run_method.cpython-37.pyc&#10;#&#9;run.py&#10;#&#9;script/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/__pycache__/conftest.cpython-37-pytest-6.2.1.pyc&#10;#&#9;script/__pycache__/db_config.cpython-37.pyc&#10;#&#9;script/__pycache__/defalut_account.cpython-37.pyc&#10;#&#9;script/__pycache__/default_header.cpython-37.pyc&#10;#&#9;script/__pycache__/public_asserts.cpython-37.pyc&#10;#&#9;script/base_api/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/department.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/employee.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/permission.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/role.cpython-37.pyc&#10;#&#9;script/base_api/api_admin/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/coursePreview.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_app/__pycache__/playVideo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/buryData.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/goods.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/idea.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/productExamination.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/share.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_jksxb_mini/__pycache__/zan.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/back_clue.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/classroom.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/clue.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/employee.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/lost_communicate_record.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/memberships.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/public.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/staging.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/statistics.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/students.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_app/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/big_screen.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/charge.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/discount.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/expense.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/introduce.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/orderFlow.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/renewal.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/report.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/ruleSetting.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/share.cpython-37.pyc&#10;#&#9;script/base_api/api_operation_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/periodical.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/periodicalManage.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/regime.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/regimeManage.cpython-37.pyc&#10;#&#9;script/base_api/api_periodical/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/coursePreview.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_research_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/message.cpython-37.pyc&#10;#&#9;script/base_api/api_teach_web/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/agency.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/back_clue.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/clue.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/communicate.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/crm.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/customMessage.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/customMessageItem.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/dict.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/direct.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/document.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentDirectory.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentRecord.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/documentTag.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/enum.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lostStudent.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lostWarning.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/lost_communicate_record.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/school.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/staging.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/systemMessage.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/__pycache__/systemMessageItem.cpython-37.pyc&#10;#&#9;script/base_api/service_crm/clue.py&#10;#&#9;script/base_api/service_descartes/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_descartes/__pycache__/examine.cpython-37.pyc&#10;#&#9;script/base_api/service_descartes/__pycache__/lessons.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/batch.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/batchClass.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classCapacity.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classDirector.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/education.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/jst_home.cpython-37.pyc&#10;#&#9;script/base_api/service_education/__pycache__/system.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/handCash.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/v2.cpython-37.pyc&#10;#&#9;script/base_api/service_finance/__pycache__/web.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/banner.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/carousel.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/diagnosis.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/goods.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/gos.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/gos_api.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/group.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/package.cpython-37.pyc&#10;#&#9;script/base_api/service_gos/__pycache__/shareEvent.cpython-37.pyc&#10;#&#9;script/base_api/service_idea/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_idea/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/service_identity/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_identity/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/discount.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/order.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/orderRuleSetting.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/order_api.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/orders.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/payments.cpython-37.pyc&#10;#&#9;script/base_api/service_order/__pycache__/schedule.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/bill.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/callback.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/pay.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/refund.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_pay/__pycache__/weChat.cpython-37.pyc&#10;#&#9;script/base_api/service_pigeon/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_pigeon/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/applet.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/attendances.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classChange.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classHourChange.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/class_.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classes.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/classfeedback.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/coupon.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/courseNote.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/course_notes.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/external.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/feedback.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/feedbackType.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/geekPreviewReport.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/homework.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/login.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/manualSchedule.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/memberships.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/parent.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/performances.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/plaso.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/public.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/purchaseOrder.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/pushRelationship.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/schedules.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/student.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/students.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/studtent.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/teachers.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/transfer_records.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/transferred.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/userCheckpoint.cpython-37.pyc&#10;#&#9;script/base_api/service_profile/__pycache__/videoPlayAddress.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/backup.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/baseParam.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/check_recommit.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/cos.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/customHeader.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/entranceExam.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/finance.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/notice.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/notices.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/preview.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/qrcode.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/resource.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/schools.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/src.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/systemSetting.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/targets.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/upload.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/version.cpython-37.pyc&#10;#&#9;script/base_api/service_public/__pycache__/vod.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/admission.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/basic_training.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/chapter_tree.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/exam.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/examination.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/jst.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/materialContribution.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/monthExamination.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/online.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/questionMaterial.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_bank.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_jst.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_source.cpython-37.pyc&#10;#&#9;script/base_api/service_question/__pycache__/question_video.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/export.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReport.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportDayly.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportOfAll.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getContinueReportTeacherByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/getExpensesByArea.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/login.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/loginInternal.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/report.cpython-37.pyc&#10;#&#9;script/base_api/service_report/__pycache__/src.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/api.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/attendClass.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/cloudDiskController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/courseWareEvaluateController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/courseWareScoreController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/dowLogController.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/examination.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/periodical.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/prepar.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/prepareLessons.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/preview.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/question_bank.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/research.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_exercise.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_exercises.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_plan.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/teaching_plans.cpython-37.pyc&#10;#&#9;script/base_api/service_research/__pycache__/video.cpython-37.pyc&#10;#&#9;script/base_api/service_science/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_science/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/upload.cpython-37.pyc&#10;#&#9;script/base_api/service_src/__pycache__/versionInfo.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/geekData.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/sa.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics/__pycache__/statistics.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/classFeeRating.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/teacherValueController.cpython-37.pyc&#10;#&#9;script/base_api/service_statistics_metrics/__pycache__/teacherValueRank.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/app.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/auth.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/batchEmp.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/company.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/departments.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/ding.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/dingAuth.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/employees.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/jst_app.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/masterKey.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/menuTree.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/metrics.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permission.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissionGroup.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissionGroups.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permission_groups.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/permissions.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/plaso.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/roles.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/teachers.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/token.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/user.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/user_api.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/users.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/verificationCode.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/workbench.cpython-37.pyc&#10;#&#9;script/base_api/service_user/__pycache__/wxMini.cpython-37.pyc&#10;#&#9;script/ji_yun_ying_pc/__pycache__/__init__.cpython-37.pyc&#10;#&#9;script/ji_yun_ying_pc/__pycache__/conftest.cpython-37-pytest-6.2.1.pyc&#10;#&#9;script/public_asserts.py" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
<url>file://$PROJECT_DIR$/script/base_api_data/api_operation_web/coupon_operation.py</url>
<line>120</line>
<option name="timeStamp" value="4" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component>
</project>
\ No newline at end of file
# coding:utf-8
import string
import traceback
import random
def replace_string(template_str: str, variable_dict: dict):
......@@ -71,3 +72,13 @@ def get_page_num_and_size(total, size):
num += 1
num_and_size.append((num, size))
return num_and_size
# 从列表中随机取一个新的列表
def get_random_list_by_list(data_list: list):
"""
@param data_list: 原列表
@return: 随机取出的数据的新列表
"""
random_num = random.randint(1, len(data_list))
return random.sample(data_list, random_num)
from script.base_api.api_jksxb_app.user import user_login_by_account_post
from script.base_api.service_profile.students import students_queryByUser_get
from script.base_api.service_profile.app import app_pushRelationship_post
from script.base_api.api_jksxb_app.goods import goods_pageList_post
from script.base_api.api_jksxb_app.goods import goods_detail_post
from script.base_api.api_jksxb_app.coupon import coupon_studentSelf_list_get
from script.base_api.api_jksxb_app.coupon import coupon_matchGoods_get
from script.base_api.api_jksxb_app.seats import seats_isSupportChooseSeat_post
from script.base_api.api_jksxb_app.order import order_myOrderDetail_get
import jsonpath
class UserOperation:
class JzUserOperation:
def __init__(self, account, password):
self.account = account
......@@ -30,14 +40,26 @@ class UserOperation:
self.header.setdefault("Authorization", "token not found")
return res
# 获取登录的学生,取第一个
def get_student_by_user(self, **kwargs):
# 获取登录的学生,取第一个获取对应姓名的学生
def get_student_by_user(self, name=None, **kwargs):
"""
@param name: 学生的姓名
@param kwargs:
@return: 查询学生接口的全部响应
"""
res = students_queryByUser_get(header=self.header, **kwargs)
data = res.get("data")
if data:
student_info = data[0]
self.student_id = student_info.get("studentId")
self.student_name = student_info.get("studentNa")
if name:
students = [x for x in data if x.get("studentName") == name]
if students:
student_info = students[0]
self.student_id = student_info.get("studentId")
self.student_name = student_info.get("studentName")
else:
student_info = data[0]
self.student_id = student_info.get("studentId")
self.student_name = student_info.get("studentName")
return res
# 上传
......@@ -48,3 +70,72 @@ class UserOperation:
"clientIdentify": ""
}
return app_pushRelationship_post(body=body, header=self.header, **kwargs)
# 商品列表
def goods_page_list(self, storeId):
"""
@param storeId: 校区id
@return:
"""
body = {
"studentId": self.student_id,
"storeId": storeId
}
return goods_pageList_post(body=body, header=self.header)
# 商品详情
def goods_detail(self, goods_id, longitude, latitude):
"""
@param goods_id: 商品id
@param longitude: 定位经度
@param latitude: 定位纬度
@return:
"""
body = {
"id": goods_id,
"longitude": longitude,
"latitude": latitude,
"studentId": self.student_id
}
return goods_detail_post(body=body, header=self.header)
# 学生优惠券列表,默认未使用
def coupon_student_self_list(self, status="UNUSE", pageNum=1, pageSize=10):
"""
@param status: UNUSE:未使用USED:使用 INVALID: 失效
@param pageNum: 页码
@param pageSize: 每页数量
@return:
"""
params = {
"pageNum": pageNum,
"pageSize": pageSize,
"studentId": self.student_id,
"status": status
}
return coupon_studentSelf_list_get(params=params, header=self.header)
# 查询商品可使用优惠券
def coupon_match_goods(self, goodsIds):
"""
@param goodsIds: 商品id列表
@return:
"""
params = {
"studentId": self.student_id,
"goodsIds": ",".join(goodsIds)
}
return coupon_matchGoods_get(params=params, header=self.header)
# 班级是否选座
def is_support_choose_seat(self, classId_schoolAreaId_list):
"""
@param classId_schoolAreaId_list: 班级id和校区ID的字典列表[{"classId": "班课对应的班级id","schoolAreaId": "学校id"}]
@return:
"""
body = classId_schoolAreaId_list
return seats_isSupportChooseSeat_post(body=body, header=self.header)
# 我的-查询订单详情
def order_my_order_detail(self):
return order_myOrderDetail_get(header=self.header)
\ No newline at end of file
......@@ -46,8 +46,13 @@ class GosUserOperation:
self.header.setdefault("Authorization", "token not found")
return res
# 获取登录的学生,取第一个
# 获取登录的学生,取第一个获取对应姓名的学生
def get_student_by_user(self, name=None, **kwargs):
"""
@param name: 学生的姓名
@param kwargs:
@return: 查询学生接口的全部响应
"""
res = students_queryByUser_get(header=self.header, **kwargs)
data = res.get("data")
if data:
......
import random
from script.base_api.api_operation_web.coupon import coupon_config_list_get
from script.base_api.api_operation_web.coupon import coupon_config_post
from script.base_api.api_operation_web.coupon import coupon_config_put
from script.base_api.api_operation_web.coupon import coupon_config_delete
from script.base_api.api_operation_web.coupon import coupon_config_goods_list_get
from script.base_api.api_operation_web.coupon import coupon_config_get
from script.base_api.api_operation_web.coupon import coupon_config_status_put
# 发放
from script.base_api.api_operation_web.coupon import coupon_sendByStudentInfo_post
from script.base_api.api_operation_web.coupon import coupon_sendByStudentNo_post
from script.base_api.api_operation_web.coupon import coupon_sendByFile_post
from script.base_api.api_operation_web.coupon import coupon_sendCouponByKey_post
from script.base_api.api_operation_web.coupon import coupon_autoIssue_post
from script.base_api.api_operation_web.coupon import coupon_autoIssue_get
from script.base_api.api_operation_web.coupon import coupon_receive_recall_list_get
from script.base_api.api_operation_web.coupon import coupon_del_post
from script.base_api.api_operation_web.coupon import coupon_unDel_post
# 匹配
from script.base_api.api_operation_web.coupon import coupon_matchGoods_get
from script.default_header import jyy_header
class CouponSetOperation:
def __init__(self, name="", desc="", extra=None, discountPolicy=None,
validTimePolicy=None, remark="", bizType="CASH", goodsRules=None):
"""
@param name: "名称"
@param desc: "描述"
@param extra: {
# 发放类型MANUAL-手动发行 AUTO-自动发行
"sendType": "MANUAL"
}
@param discountPolicy: {
# 优惠券门槛(单位分)默认0
"leastAmount": 0,
# 优惠类型: REDUCE:直减 DISCOUNT:折扣
"discountType": "REDUCE",
# 优惠面值: REDUCE: 直减金额单位分 DISCOUNT:折扣,例如88 8.8折
"discountValue": 100
}
@param validTimePolicy:
@param remark:
@param bizType: # 优惠券业务类型 CASH: 金 FULL_REDUCE:满减
@param goodsRules:
"""
self.name = name or f"自动化接口优惠券_{random.randint(100000000, 999999999)}"
self.desc = desc
self.extra = extra
self.discountPolicy = discountPolicy
self.validTimePolicy = validTimePolicy
self.remark = remark
self.bizType = bizType
self.goodsRules = goodsRules
self.coupon_id = None
# 新增实例优惠券设置
def add_coupon_set(self):
body = {
"name": self.name,
"desc": self.desc,
"extra": self.extra,
"discountPolicy": self.discountPolicy,
"validTimePolicy": self.validTimePolicy,
"remark": self.remark,
"bizType": self.bizType,
"goodsRules": self.goodsRules
}
res = coupon_config_post(body=body, header=jyy_header)
data = res.get("data")
if data:
self.coupon_id = data.get("id")
return res
# 编辑实例优惠券设置
def edit_current_coupon_set(self, status="ENABLED"):
"""
@param status: 启用:ENABLED 禁用:DISABLED
@return:
"""
self.name = str(random.randint(100, 1000))
self.desc = self.desc + str(random.randint(100, 1000))
self.remark = self.remark + str(random.randint(100, 1000))
body = {
"id": self.coupon_id,
"name": self.name,
"desc": self.desc,
"status": status,
"extra": self.extra,
"discountPolicy": self.discountPolicy,
"validTimePolicy": self.validTimePolicy,
"remark": self.remark,
"bizType": self.bizType,
"goodsRules": self.goodsRules
}
return coupon_config_put(body=body, header=jyy_header)
# 删除当前实例优惠券设置
def delete_current_coupon_set(self):
return self.delete_coupon_set([self.coupon_id])
# 停用启用当前实例优惠券设置
def stop_or_start_current_coupon_set(self, status="DISABLED"):
"""
@param status: "启用:ENABLED 禁用:DISABLED
@return:
"""
return self.stop_or_start_coupon_set(self.coupon_id, status=status)
# 获取当前优惠券设置详情
def get_current_coupon_set_detail(self):
return self.get_coupon_set_detail(self.coupon_id)
# 当前优惠券生效商品查询
def current_coupon_good_list(self):
return self.coupon_good_list(self.coupon_id)
# 获取优惠券设置列表
@staticmethod
def get_coupon_set_list(pageNum=1, pageSize=10, statuses="ENABLED", keyword="",
channels="", validStatuses="", schoolAreaIds=None, bizType="CASH"):
"""
@param pageNum:
@param pageSize:
@param statuses: 启用:ENABLED 禁用:DISABLED
@param keyword: 优惠券名称或id
@param channels: PC_B:极运营 APP_C:用户手机端 APPLET_C:用户微信小程序
@param validStatuses: WILL:即将开始 DOING : 进行中 DONE:已结束
@param schoolAreaIds: 校区id,隔号分隔
@param bizType: 优惠券业务类型 CASH: 现金 FULL_REDUCE:满减
@return:
"""
params = {
"pageNum": pageNum,
"pageSize": pageSize,
"statuses": statuses,
"keyword": keyword,
"channels": channels,
"validStatuses": validStatuses,
"schoolAreaIds": schoolAreaIds,
"bizType": bizType
}
return coupon_config_list_get(params=params, header=jyy_header)
# 获取优惠券设置列表
@classmethod
def is_have_coupon_set(cls, coupon_id, coupon_name="", statuses="ENABLED", bizType="CASH"):
"""
@param coupon_id:
@param coupon_name:
@param statuses: 启用:ENABLED 禁用:DISABLED
@param bizType: 优惠券业务类型 CASH: 现金 FULL_REDUCE:满减
@return:
"""
res = cls.get_coupon_set_list(pageSize=500, bizType=bizType, statuses=statuses)
data = res.get("data")
if data:
data_list = data.get("list")
data_list = [x for x in data_list if x.get("id") == coupon_id
and x.get("name") == coupon_name]
if data_list:
return data_list[0]
else:
return False
else:
return False
# 删除优惠券设置
@staticmethod
def delete_coupon_set(ids):
params = {"ids": ",".join(ids)}
return coupon_config_delete(params=params, header=jyy_header)
# 停用启用优惠券设置
@staticmethod
def stop_or_start_coupon_set(coupon_id, status="DISABLED"):
"""
@param coupon_id:
@param status: "启用:ENABLED 禁用:DISABLED
@return:
"""
body = {
"id": coupon_id,
"status": status
}
return coupon_config_status_put(body=body, header=jyy_header)
# 获取优惠券设置详情
@staticmethod
def get_coupon_set_detail(coupon_id):
params = {
"id": coupon_id,
}
return coupon_config_get(params=params, header=jyy_header)
# 优惠券生效商品查询
@staticmethod
def coupon_good_list(coupon_id):
params = {
"couponId": coupon_id,
}
return coupon_config_goods_list_get(params=params, header=jyy_header)
# 设置优惠券自动发放条件
@staticmethod
def set_coupon_auto_send_condition(couponId, beginDate, endDate, schoolAreaIds=None, grades=None, autoIssueScenario="NEW_STUDENT"):
body = {
"couponId": couponId,
"autoIssueScenario": autoIssueScenario,
"beginDate": beginDate,
"endDate": endDate,
"schoolAreaIds": schoolAreaIds,
"grades": grades
}
return coupon_autoIssue_post(body=body, header=jyy_header)
# 获取优惠券自动发放条件
@staticmethod
def get_coupon_auto_send_set(couponId):
params = {
"couponId": couponId,
}
return coupon_autoIssue_get(params=params, header=jyy_header)
# 查询已撤回优惠券列表
@staticmethod
def get_receive_coupon_list_search(couponId, keyword="", pageNum=1, pageSize=10):
"""
@param pageSize:
@param pageNum:
@param couponId:
@param keyword: 学生姓名、学生id、学号
@return:
"""
params = {
"pageNum": pageNum,
"pageSize": pageSize,
"couponId": couponId,
"keyword": keyword,
}
return coupon_receive_recall_list_get(params=params, header=jyy_header)
# 按学生信息发放优惠券
@staticmethod
def send_coupon_by_student_info(couponIds, schoolAreaIds, year, term,
grades=[], subjects=[], classTypes=[], studentStatuses=[]):
"""
@param couponIds:
@param schoolAreaIds:
@param year:
@param term:
@param grades: 年级
@param subjects: 科目
@param classTypes: 班型
@param studentStatuses: 学生状态
@return:
"""
body = {
"schoolAreaIds": schoolAreaIds,
"couponIds": couponIds,
"year": year,
"term": term,
"grades": grades,
"subjects": subjects,
"classTypes": classTypes,
"studentStatuses": studentStatuses
}
return coupon_sendByStudentInfo_post(body=body, header=jyy_header)
# 测试在线发放优惠券-按学号发放
@staticmethod
def send_coupon_by_student_no(couponId, studentNos):
"""
@param couponId:
@param studentNos: 学号数组
@return:
"""
body = {
"studentNos": studentNos,
"couponId": couponId
}
return coupon_sendByStudentNo_post(body=body, header=jyy_header)
# 在线发放优惠券-上传学生名单
@staticmethod
def send_coupon_by_student_name_list(couponId, key):
"""
@param couponId:
@param key: 导入学生后返回key
@return:
"""
body = {
"couponId": couponId,
"key": key
}
return coupon_sendCouponByKey_post(body=body, header=jyy_header)
# 发放优惠券-批量导入发放
@staticmethod
def send_coupon_by_student_file(couponId, file):
"""
@param couponId:
@param file: MultipartFile 文件
@return:
"""
body = {
"file": file,
"couponId": couponId
}
return coupon_sendByFile_post(body=body, header=jyy_header)
class CouponItemOperation:
# 撤回优惠券
@ staticmethod
def receive_coupon(couponId):
body = {
"couponId": couponId
}
return coupon_del_post(body=body, header=jyy_header)
# 取消撤回优惠券
@staticmethod
def cancel_receive_coupon(couponId):
body = {
"couponId": couponId
}
return coupon_unDel_post(body=body, header=jyy_header)
# 查询商品可使用优惠券
@staticmethod
def match_coupon_list(student_id, goodsIds):
"""
@param student_id:
@param goodsIds: 商品id列表
@return:
"""
params = {
"studentId": student_id,
# 商品id, 多个以隔号分隔
"goodsIds": ",".join(goodsIds)
}
return coupon_matchGoods_get(params=params, header=jyy_header)
import random
# 商品类目
from script.base_api.api_operation_web.goods import goods_category_get
from script.base_api.api_operation_web.goods import goods_politicsArea_category_pageList_post
from script.base_api.api_operation_web.goods import goods_politicsArea_category_post
from script.base_api.api_operation_web.goods import goods_politicsArea_category_put
from script.base_api.api_operation_web.goods import goods_politicsArea_category_delete
# 商品
from script.base_api.api_operation_web.goods import goods_manage_create_post
from script.base_api.api_operation_web.goods import goods_manage_update_put
from script.base_api.api_operation_web.goods import goods_manage_delete_delete
from script.base_api.api_operation_web.goods import goods_manage_pageList_post
from script.base_api.api_operation_web.goods import goods_manage_sale_post
from script.base_api.api_operation_web.goods import goods_manage_detail_get
from script.base_api.api_operation_web.goods import goods_pageList_post
from script.base_api.api_operation_web.goods import goods_generalPageList_post
from script.default_header import jyy_header
from script.global_data_config.province_code_data import ProvinceCode
class CategoryOperation:
def __init__(self, province=None, provinceName="", city=None, cityName=None,
county=None, countyName="", subjects=["数学"], random_data=False):
"""
@param province: 省编码
@param provinceName: 省名称
@param city: 市编码
@param cityName: 市名称
@param county: 区编码
@param countyName: 区名称
@param subjects: 科目
@param random_data: 如果为True, 随机省市区
"""
self.subjects = subjects
if random_data:
province_code = ProvinceCode.get_province_code_random_one()
self.province = province_code.get("province_id")
self.provinceName = province_code.get("province_name")
self.city = province_code.get("city_id")
self.cityName = province_code.get("city_name")
self.county = province_code.get("county_id")
self.countyName = province_code.get("county_id")
else:
self.province = province
self.provinceName = provinceName
self.city = city
self.cityName = cityName
self.county = county
self.countyName = countyName
self.area_category_id = None
# 新增类目-按区
def add_area_category_by_county(self):
body = {
"province": self.province,
"provinceName": self.provinceName,
"city": self.city,
"cityName": self.cityName,
"county": self.county,
"countyName": self.countyName,
"subjects": self.subjects
}
return goods_politicsArea_category_post(body=body, header=jyy_header)
# 新增类目-按省
def add_area_category_by_province(self):
body = {
"province": self.province,
"provinceName": self.provinceName,
"subjects": self.subjects
}
return goods_politicsArea_category_post(body=body, header=jyy_header)
# 新增类目-按市
def add_area_category_by_city(self):
body = {
"province": self.province,
"provinceName": self.provinceName,
"city": self.city,
"cityName": self.cityName,
"subjects": self.subjects
}
return goods_politicsArea_category_post(body=body, header=jyy_header)
# 编辑当前类目
def edit_current_area_category(self):
return self.edit_area_category(self.area_category_id, self.subjects)
# 删除当前类目
def delete_current_area_category(self):
return self.delete_area_category(self.area_category_id)
# 当前省市区类目是否存在
def is_have_current_area_category(self):
"""
@return: 存在时返回对应的数据,不存在时返回False
"""
res = self.get_area_category_list(pageSize=1000, province=self.province, city=self.city, county=self.county)
data = res.get("data")
if data:
data_list = data.get("list")
data_list = [x for x in data_list if x.get("province") == self.province
and x.get("city") == self.city
and x.get("county") == self.county
and sorted(x.get("subjects")) == sorted(self.subjects)]
if data_list:
return data_list[0]
else:
return False
else:
return False
# 获取年级类目列表
@staticmethod
def get_category_list(code="GRADE"):
params = {"code": code}
return goods_category_get(params=params, header=jyy_header)
# 获取区域类目列表
@staticmethod
def get_area_category_list(pageNum=1, pageSize=10, province="", city="", county=""):
"""
@param pageNum:
@param pageSize:
@param province: 省编码
@param city: 市编码
@param county: 区编码
@return:
"""
body = {
"pageNum": pageNum,
"pageSize": pageSize,
"province": province,
"city": city,
"county": county
}
return goods_politicsArea_category_pageList_post(body=body, header=jyy_header)
# 省市区是否存在类目
@classmethod
def is_have_area_category(cls, province=None, city=None, county=None):
"""
@return: 存在时返回对应的数据,不存在时返回False
"""
res = cls.get_area_category_list(pageSize=1000, province=province, city=city, county=county)
data = res.get("data")
if data:
data_list = data.get("list")
data_list = [x for x in data_list if x.get("province") == province
and x.get("city") == city
and x.get("county") == county
]
if data_list:
return data_list[0]
else:
return False
else:
return False
# 编辑类目
@staticmethod
def edit_area_category(area_category_id, subjects):
body = {
"id": area_category_id,
"subjects": subjects
}
return goods_politicsArea_category_put(body=body, header=jyy_header)
# 删除类目
@staticmethod
def delete_area_category(area_category_id):
area_category_id = area_category_id
return goods_politicsArea_category_delete(params={"id": area_category_id}, header=jyy_header)
class GoodsOperation:
courseType_list = ["CLASS", " CONTENT", " BOUTIQUE"]
subject_list = ["MATH", "ENGLISH", "CHINESE"]
courseSubType_list = ["NORMAL", "V1_1"]
courseTerm_list = ["SPRING", "SUMMER", "AUTUMN", "WINTER"]
courseTeachWay_list = ["FACE", "LIVE"]
channels_list = ["PC_B", "APP_C", "APPLET_C"]
def __init__(self, price=1000, courseType="CLASS", courseSubType="NORMAL", courseGrades=["三年级"], courseSubjects=["MATH"],
courseTeachWay="FACE", saleBeginTime=None, saleEndTime=None, payBeginTime=None, payEndTime=None, channels=None,
coursePeriod=None, courseTerm="AUTUMN", courseYear=2021, courseClsType="JI_SI", storeId=None, sourceId=None):
"""
@param price: 商品售价
@param storeId: 商家id(校区id)
@param sourceId: 商品来源id(班级id)"
@param courseType: 商品课程类型:CLASS班课 CONTENT内容 BOUTIQUE精品
@param courseSubType: 商品课程班型:NORMAL常规 V1_1一对一
@param courseClsType: 商品课程班型:JI_SI极思 V1_1一对一
@param courseGrades: 商品课程年级
@param courseSubjects: 商品课程学科:MATH数学 ENGLISH英语 CHINESE语文
@param courseTerm: 商品课程学期:SPRING春 SUMMER暑 AUTUMN秋 WINTER寒"
@param courseYear: 商品课程年份
@param courseTeachWay: 商品课程授课方式:FACE面授 LIVE直播
@param coursePeriod: 商品课程总课时
@param saleBeginTime: 上架开始时间
@param saleEndTime: 上架结束时间
@param payBeginTime: 购买开始时间
@param payEndTime: 购买结束时间
@param channels: 上架渠道列表
"""
self.name = f"自动化商品名称{random.randint(100000, 999999)}"
self.price = price
self.originalPrice = 10000
self.storeId = storeId
self.sourceId = sourceId
self.courseType = courseType
self.courseSubType = courseSubType
self.courseClsType = courseClsType
self.courseGrades = courseGrades
self.courseSubjects = courseSubjects
self.courseTerm = courseTerm
self.courseYear = courseYear
self.courseTeachWay = courseTeachWay
self.coursePeriod = coursePeriod
self.saleBeginTime = saleBeginTime
self.saleEndTime = saleEndTime
self.payBeginTime = payBeginTime
self.payEndTime = payEndTime
self.channels = channels
self.images = ["image_url", "image_url"]
self.videos = ["videos_url", "videos_url"]
self.detailImage = "image_url"
self.poster = "image_url"
self.desc = f"商品描述{random.randint(100000, 999999)}"
self.shareDesc = f"商品分享描述{random.randint(100000, 999999)}"
self.goods_id = None
# 新增当前商品
def add_current_goods(self):
body = {
"name": self.name,
"price": self.price,
"originalPrice": self.originalPrice,
"storeId": self.storeId,
"sourceId": self.sourceId,
"courseType": self.courseType,
"courseSubType": self.courseSubType,
"courseClsType": self.courseClsType,
"courseGrades": self.courseGrades,
"courseSubjects": self.courseSubjects,
"courseTerm": self.courseTerm,
"courseYear": self.courseYear,
"courseTeachWay": self.courseTeachWay,
"coursePeriod": self.coursePeriod,
"images": self.images,
"videos": self.videos,
"detailImage": self.detailImage,
"poster": self.poster,
"desc": self.desc,
"shareDesc": self.shareDesc,
"saleBeginTime": self.saleBeginTime,
"saleEndTime": self.saleEndTime,
"payBeginTime": self.payBeginTime,
"payEndTime": self.payEndTime,
"channels": self.channels
}
res = goods_manage_create_post(body=body, header=jyy_header)
data = res.get("data")
code = res.get("code")
if data and code == 0:
self.goods_id = data
return res
# 编辑当前商品
def edit_current_goods(self, price=100):
"""
@param price: 价格的变化数, 默认加100
@return:
"""
self.name = self.name + str(random.randint(1000, 9999))
self.desc = self.desc + str(random.randint(1000, 9999))
self.shareDesc = self.shareDesc + str(random.randint(1000, 9999))
self.price = self.price + price
body = {
"id": self.goods_id,
"name": self.name,
"price": self.price,
"originalPrice": self.originalPrice,
"saleBeginTime": self.saleBeginTime,
"saleEndTime": self.saleEndTime,
"payBeginTime": self.payBeginTime,
"payEndTime": self.payEndTime,
"channels": self.channels,
"images": self.images,
"detailImage": self.detailImage,
"videos": self.videos,
"poster": self.poster,
"desc": self.desc,
"shareDesc": self.shareDesc
}
return goods_manage_update_put(body=body, header=jyy_header)
# 删除当前商品
def delete_current_goods(self):
return self.delete_goods([self.goods_id])
# 上下架当前商品
def up_and_down_current_goods(self, sale=True):
"""
@param sale: false下架 true上架
@return:
"""
return self.up_and_down_goods([self.goods_id], saleBeginTime=self.saleBeginTime, saleEndTime=self.saleEndTime, sale=sale)
# 获取当前商品详情
def get_current_goods_detail(self):
return self.get_goods_detail(self.goods_id)
# 当前商品在列表是否存在
def is_have_current_goods(self):
return self.is_have_goods(self.goods_id, self.name)
# 编辑商品
@staticmethod
def edit_goods(goods_id, name="编辑商品名称", price=1000, originalPrice=None, saleBeginTime=None, saleEndTime=None, payBeginTime=None,
payEndTime=None, channels=None, images=None, detailImage=None, videos=None, poster=None, desc=None, shareDesc=None):
body = {
"id": goods_id,
"name": name,
"price": price,
"originalPrice": originalPrice,
"saleBeginTime": saleBeginTime,
"saleEndTime": saleEndTime,
"payBeginTime": payBeginTime,
"payEndTime": payEndTime,
"channels": channels,
"images": images,
"detailImage": detailImage,
"videos": videos,
"poster": poster,
"desc": desc,
"shareDesc": shareDesc
}
return goods_manage_update_put(body=body, header=jyy_header)
# 删除商品
@staticmethod
def delete_goods(goods_ids):
goods_ids = ",".join(goods_ids)
return goods_manage_delete_delete(params={"ids": goods_ids}, header=jyy_header)
# 上下架商品
@staticmethod
def up_and_down_goods(good_ids, saleBeginTime, saleEndTime, sale=True):
"""
@param good_ids:
@param saleBeginTime: 2021-01-01
@param saleEndTime: 2022-01-01
@param sale: false下架 true上架
@return:
"""
body = {
"ids": good_ids,
"sale": sale,
"saleBeginTime": saleBeginTime,
"saleEndTime": saleEndTime
}
return goods_manage_sale_post(body=body, header=jyy_header)
# 查询商品详情
@staticmethod
def get_goods_detail(goods_id):
return goods_manage_detail_get(params={"id": goods_id}, header=jyy_header)
# 商品在列表是否存在
@classmethod
def is_have_goods(cls, goods_id, goods_name):
res = cls.get_goods_manage_list(pageSize=1000)
data = res.get("data")
if data:
data_list = data.get("list")
data_list = [x for x in data_list if x.get("id") == goods_id
and x.get("name") == goods_name]
if data_list:
return data_list[0]
else:
return False
else:
return False
# 商品管理列表查询
@staticmethod
def get_goods_manage_list(pageNum=1, pageSize=10, keyword="", status=1, is_del=0, storeIds=None, categories=None, courseYear=None,
courseTerm=None, courseType=None, courseSubType=None, courseClsType=None, courseTeachWay=None):
"""
@param pageNum:
@param pageSize:
@param keyword:
@param status:
@param is_del: 是否删除
@param storeIds: 校区id列表
@param categories: 类目code列表
@param courseYear:
@param courseTerm:
@param courseType:
@param courseSubType:
@param courseClsType: 课程班型:JI_SI极思 V1_1一对一
@param courseTeachWay: 课程授课形式
@return:
"""
body = {
"pageNum": pageNum,
"pageSize": pageSize,
"status": status,
"del": is_del,
"storeIds": storeIds,
"categories": categories,
"courseYear": courseYear,
"courseTerm": courseTerm,
"courseType": courseType,
"courseSubType": courseSubType,
"courseClsType": courseClsType,
"courseTeachWay": courseTeachWay,
"keyword": keyword
}
return goods_manage_pageList_post(body=body, header=jyy_header)
# 商品选购列表查询
@staticmethod
def get_goods_page_list(pageNum=1, pageSize=10, keyword="", storeIds=None, courseYear=None, courseTerm=None, courseType=None,
courseSubType=None, courseClsType=None, courseGrade=None, courseSubject=None, courseTeachWay=None):
"""
@param courseSubject: 商品课程学科:MATH数学 ENGLISH英语 CHINESE语文
@param courseGrade:
@param pageNum:
@param pageSize:
@param keyword:
@param storeIds: 商家id(校区id)
@param courseYear:
@param courseTerm:商品课程学期:SPRING春 SUMMER暑 AUTUMN秋 WINTER寒
@param courseType:商品课程类型:CLASS班课 CONTENT内容 BOUTIQUE精品
@param courseSubType:商品课程课型:NORMAL常规
@param courseClsType: 课程班型:JI_SI极思 V1_1一对一
@param courseTeachWay: 商品课程授课方式:FACE面授 LIVE直播
@return: 商品选购接口响应
"""
body = {
"pageNum": pageNum,
"pageSize": pageSize,
"storeId": storeIds,
"courseType": courseType,
"courseSubType": courseSubType,
"courseClsType": courseClsType,
"courseGrade": courseGrade,
"courseSubject": courseSubject,
"courseTerm": courseTerm,
"courseYear": courseYear,
"courseTeachWay": courseTeachWay,
"keyword": keyword
}
return goods_pageList_post(body=body, header=jyy_header)
# 测试商品通用分页查询
@staticmethod
def get_goods_general_page_list(pageNum=1, pageSize=10, keyword="", status=1, is_del=0, storeIds=None, categories=None, courseYear=None,
courseTerm=None, courseType=None, courseSubType=None, courseClsType=None, courseTeachWay=None, goodsIds=None):
body = {
"pageNum": pageNum,
"pageSize": pageSize,
"status": status,
"del": is_del,
"storeIds": storeIds,
"categories": categories,
"courseYear": courseYear,
"courseTerm": courseTerm,
"courseType": courseType,
"courseSubType": courseSubType,
"courseClsType": courseClsType,
"courseTeachWay": courseTeachWay,
"keyword": keyword,
"goodsIds": goodsIds
}
return goods_generalPageList_post(body=body, header=jyy_header)
import random
from script.base_api.api_operation_web.package import package_list_post
from script.base_api.api_operation_web.package import package_save_post
from script.base_api.api_operation_web.package import package_status_update_post
from script.base_api.api_operation_web.package import package_delete_post
from script.base_api.api_operation_web.package import package_detail_get
from script.default_header import jyy_header
class PackageOperation:
def __init__(self, courseIdList=None, priceList=None, saleChannel=None, saleBeginTime=None, saleEndTime=None, payBeginTime=None,
payEndTime=None, goodsCategoryCodeList=None):
"""
@param courseIdList:
@param priceList:
@param saleChannel: 上架渠道
@param saleBeginTime: 2021-06-01 00:00:00
@param saleEndTime: 2021-12-01 00:00:00"
@param payBeginTime: 2021-06-02 00:00:00
@param payEndTime: 2021-06-02 00:00:00
@param goodsCategoryCodeList: 类目code列表
"""
self.packageName = f"自动化套餐名称{random.randint(100000, 999999)}",
self.image = "imageUrl",
self.courseIdList = courseIdList,
self.priceList = priceList,
# 上架渠道
self.saleChannel = saleChannel,
self.saleBeginTime = saleBeginTime,
self.saleEndTime = saleEndTime,
self.payBeginTime = payBeginTime,
self.payEndTime = payEndTime,
# 分享海报图片
self.posterImg = "imageUrl",
self.goodsCategoryCodeList = goodsCategoryCodeList,
# 分享文案
self.subtitle = f"自动化分享文案{random.randint(100000, 999999)}"
self.package_id = None
def add_current_package(self):
body = {
"packageName": self.packageName,
"image": self.image,
"courseIdList": self.courseIdList,
"priceList": self.priceList,
"saleChannel": self.saleChannel,
"saleBeginTime": self.saleBeginTime,
"saleEndTime": self.saleEndTime,
"payBeginTime": self.payBeginTime,
"payEndTime": self.payEndTime,
"posterImg": self.posterImg,
"goodsCategoryCodeList": self.goodsCategoryCodeList,
"subtitle": self.subtitle
}
res = package_save_post(body=body, header=jyy_header)
code = res.get("code")
data = res.get("data")
if code == 0 and data:
self.package_id = data
return res
def edit_current_package(self):
self.packageName = self.packageName + str(random.randint(1000, 10000))
self.subtitle = self.subtitle + str(random.randint(1000, 10000))
body = {
"id": self.package_id,
"packageName": self.packageName,
"image": self.image,
"courseIdList": self.courseIdList,
"priceList": self.priceList,
# 上架渠道
"saleChannel": self.saleChannel,
"saleBeginTime": self.saleBeginTime,
"saleEndTime": self.saleEndTime,
"payBeginTime": self.payBeginTime,
"payEndTime": self.payEndTime,
# 分享海报图片
"posterImg": self.posterImg,
# 类目code列表
"goodsCategoryCodeList": self.goodsCategoryCodeList,
# 分享文案
"subtitle": self.subtitle
}
return package_save_post(body=body, header=jyy_header)
def delete_current_package(self):
return self.delete_package([self.package_id])
def up_and_down_current_package(self, status):
return self.up_and_down_package(self.package_id, status=status)
def get_current_package_detail(self):
return self.get_package_detail(self.package_id)
# 套餐列表查询
@staticmethod
def get_package_list(name="", schoolAreaIds=None, goodsCategoryCode="", pageNum=1, pageSize=10):
body = {
"name": name,
"schoolAreaIds": schoolAreaIds,
# 类目code集合
"goodsCategoryCode": goodsCategoryCode,
"pageNum": pageNum,
"pageSize": pageSize
}
return package_list_post(body=body, header=jyy_header)
# 测试删除套餐
@staticmethod
def delete_package(package_ids):
body = {"packageIds": package_ids}
return package_delete_post(body=body, header=jyy_header)
# 测试上下架套餐
@staticmethod
def up_and_down_package(package_id, status):
"""
@param package_id:
@param status: 1, 2上下架状态
@return:
"""
body = {
"packageId": package_id,
"status": status
}
return package_status_update_post(body=body, header=jyy_header)
# 测试查询套餐详情
@staticmethod
def get_package_detail(package_id):
return package_detail_get(params={"packageId": package_id}, header=jyy_header)
@staticmethod
def edit_package(package_id, packageName="", image=None, courseIdList=None, priceList=None, saleChannel=None, saleBeginTime=None,
saleEndTime=None, payBeginTime=None, payEndTime=None, goodsCategoryCodeList=None, posterImg=None, subtitle=None):
"""
@param package_id:
@param packageName:
@param image:
@param courseIdList:
@param priceList:
@param saleChannel: 上架渠道
@param saleBeginTime: 2021-06-01 00:00:00
@param saleEndTime: 2021-12-01 00:00:00"
@param payBeginTime: 2021-06-02 00:00:00
@param payEndTime: 2021-06-02 00:00:00
@param goodsCategoryCodeList: 类目code列表
@param posterImg:
@param subtitle:
@return:
"""
body = {
"id": package_id,
"packageName": packageName,
"image": image,
"courseIdList": courseIdList,
"priceList": priceList,
# 上架渠道
"saleChannel": saleChannel,
"saleBeginTime": saleBeginTime,
"saleEndTime": saleEndTime,
"payBeginTime": payBeginTime,
"payEndTime": payEndTime,
# 分享海报图片
"posterImg": posterImg,
# 类目code列表
"goodsCategoryCodeList": goodsCategoryCodeList,
# 分享文案
"subtitle": subtitle
}
return package_save_post(body=body, header=jyy_header)
......@@ -11,7 +11,7 @@ import random
from script.default_header import jyy_header
class AddStudent:
class StudentOperation:
def __init__(self, studentName=None, firstUserPhone=None, firstUserIdentity="爸爸", attendGrade="三年级", studentSex="男",
attendSchool="四川省成都市第四十九中学校", attendSchoolId=13403, city=510100, schoolArea=3015,
......
import random
from script.base_api.service_education.education import education_courses_add_post
from script.base_api.service_education.education import education_courses_query_post
from script.global_data_config.school_data import SchoolDataConfig
from script.default_header import jyy_header
class CoursesOperation:
teachFormMap = {
"offline": "面授",
"online": "在线"
}
def __init__(self, year=None, term=None, subject=None, productType=None, grade=None,
courseType=None, classType=None, teachForm=None, schools=None, cContent=None):
"""
@param year:
@param term:
@param subject:
@param productType:
@param grade:
@param courseType:
@param classType:
@param teachForm: "offline": "面授","online": "在线"
@param schools: [{"area": 3013, "schoolArea": 3015}, {"area": 3013, "schoolArea": 2383}]
@param cContent:
"""
self.term = term
self.subject = subject
self.productType = productType
self.year = year
self.classType = classType
self.grade = grade
self.courseType = courseType
self.teachForm = teachForm
self.courseName = f"【{self.teachFormMap.get('self.teachForm')}】{self.year}{self.term}{self.grade}{self.subject}{self.classType}{random.randint(100000, 999999)}"
self.schools = schools,
self.cContent = cContent
self.coursesId = None
class RoutineCoursesOperation(CoursesOperation):
def __init__(self, year=None, term=None, subject="数学", grade="三年级", classType="极趣班", teachForm="offline", schools=None,
registerGrade="三年级", coursePeriod="15", courseNumber="10", totalPrice=1500, perPeriodDuration=2, coursePrice="100",
courseStatus="1", priceType=1, courseDesc="", isNormal=1):
"""
@param year:
@param term:
@param subject:
@param grade:
@param classType:
@param teachForm:
@param schools:
@param registerGrade: 网报年级
@param coursePeriod: 总课时
@param courseNumber: 计划排课数(课次)
@param totalPrice: 课程总价
@param perPeriodDuration: 每个课时多少分钟
@param coursePrice: 课程价格
@param courseStatus: 状态(1启用 2停用)
@param priceType:1 按单价收费 2 按期收费
@param courseDesc:
@param isNormal: 正价课程 1 正价 2 低价
"""
super().__init__(year=year, term=term, subject=subject, productType="主线课程", grade=grade, courseType="常规班课",
classType=classType, teachForm=teachForm, schools=schools, cContent=[])
self.registerGrade = registerGrade
self.coursePeriod = coursePeriod
self.courseNumber = courseNumber
self.normalPrice = coursePrice
self.coursePrice = coursePrice
self.courseStatus = courseStatus
self.courseDesc = courseDesc
self.priceType = priceType
self.perPeriodDuration = perPeriodDuration
self.isNormal = isNormal
self.totalPrice = totalPrice
self.isTerm = None
self.uphalfCoursePeriod = None
self.downhalfCoursePeriod =None
self.sectionSetting = None
# 新增不分段课程
def add_current_courses(self):
self.isTerm = False
body = [{
"courseName": self.courseName,
"term": self.term,
"subject": self.subject,
"productType": self.productType,
"year": self.year,
"classType": self.classType,
"grade": self.grade,
"coursePeriod": self.coursePeriod,
"courseType": self.courseType,
"courseNumber": self.courseNumber,
"normalPrice": self.normalPrice,
"coursePrice": self.coursePrice,
"courseStatus": self.courseStatus,
"teachForm": self.teachForm,
"courseDesc": self.courseDesc,
"priceType": self.priceType,
"perPeriodDuration": self.perPeriodDuration,
"isNormal": self.isNormal,
"totalPrice": self.totalPrice,
"registerGrade": self.registerGrade,
"schools": self.schools,
"cContent": self.cContent,
"isTerm": self.isTerm
}]
return education_courses_add_post(params="recommit-ticket=temp-ticket", body=body, header=jyy_header)
# 新增分段课程
def add_current_courses_section(self, uphalfCoursePeriod="3", downhalfCoursePeriod=None):
"""
@param uphalfCoursePeriod: 上段课次,默认3
@param downhalfCoursePeriod: 为空时,等于总课次-上课次
@return:
"""
self.uphalfCoursePeriod = uphalfCoursePeriod
self.downhalfCoursePeriod = downhalfCoursePeriod or (int(self.courseNumber) - int(self.uphalfCoursePeriod))
self.sectionSetting = 1
body = [{
"courseName": self.courseName,
"term": self.term,
"subject": self.subject,
"productType": self.productType,
"year": self.year,
"classType": self.classType,
"grade": self.grade,
"coursePeriod": self.coursePeriod,
"courseType": self.courseType,
"courseNumber": self.courseNumber,
"normalPrice": self.normalPrice,
"coursePrice": self.coursePrice,
"courseStatus": self.courseStatus,
"teachForm": self.teachForm,
"courseDesc": self.courseDesc,
"priceType": self.priceType,
"perPeriodDuration": self.perPeriodDuration,
"isNormal": self.isNormal,
"sectionSetting": self.sectionSetting,
"uphalfCoursePeriod": self.uphalfCoursePeriod,
"downhalfCoursePeriod": self.downhalfCoursePeriod,
"totalPrice": self.totalPrice,
"registerGrade": self.registerGrade,
"schools": self.schools,
"cContent": self.cContent
}]
return education_courses_add_post(params="recommit-ticket=temp-ticket", body=body, header=jyy_header)
# 当前课程在列表是否存在
def is_have_current_courses_and_set_id(self):
schoolAreas = [x.get("schoolArea") for x in self.schools]
res = self.get_courses_list(courseName=self.courseName, courseType=self.courseType, classType=self.classType, year=self.year,
term=self.term, subject=self.subject, grade=self.grade, schoolAreas=schoolAreas,
courseStatus=int(self.courseStatus))
code = res.get("code")
data = res.get("data")
if code == 0 and data:
content = data.get("content")
if content:
current_courses = content[0]
self.coursesId = current_courses.get("courseId")
else:
return False
else:
return False
@staticmethod
def get_courses_list(courseName=None, courseType=None, classType=None, year=None, term=None, subject=None, grade=None,
pageNum=1, pageSize=10, courseStatus=1, c_type="click", schoolAreas=None):
params = f"pageNum={pageNum}&pageSize={pageSize}"
if schoolAreas is None:
schoolAreas = SchoolDataConfig.get_department_id()
body = {
"classType": classType,
"courseType": courseType,
"year": year,
"term": term,
"grade": grade,
"subject": subject,
"courseStatus": courseStatus,
"courseName": courseName,
"type": c_type,
"schoolAreas": schoolAreas
}
return education_courses_query_post(params=params, body=body, header=jyy_header)
if __name__ == '__main__':
pass
from script.base_api_data.api_operation_web.coupon_operation import CouponSetOperation
import random
from script.global_data_config.school_data import SchoolDataConfig
from common.operation_time import GetTime
class AddCouponMethod:
allSchoolAreaIds = SchoolDataConfig.get_department_id()
bizType_list = ["CASH", "FULL_REDUCE"]
sendType_list = ["MANUAL", "AUTO"]
channels_list = ["PC_B", "APP_C", "APPLET_C"]
rangeGoodsType_list = ["ALL", "PART_PROPERTY", "PART_IDS"]
discountType_list = ["REDUCE", "DISCOUNT"]
goodsType_list = ["CLASS", "CONTENT", "BOUTIQUE"]
goodsId_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
@classmethod
def add_cash_coupon(cls, sendType="MANUAL", discountValue=10, startTime=None, endTime=None, receivedDelayDay=0, goodsType="CLASS",
channels=None, schoolAreaIds=None, rangeGoodsType="ALL", goodsIds=None, **kwargs) -> CouponSetOperation:
"""
@param sendType: 发放类型
@param endTime: receivedDelayDay为0时, 有效,默认7天后
@param startTime: receivedDelayDay为0时, 有效,默认当天
@param discountValue: 优惠金额
@param receivedDelayDay: 领取当日起XX天有效
@param goodsType: 商品类型["CLASS", "CONTENT", "BOUTIQUE"]
@param channels: 渠道["PC_B", "APP_C", "APPLET_C"]
@param schoolAreaIds: 校区id
@param rangeGoodsType: 生效商品
@param goodsIds: 商品ID
@param kwargs: 包含(courseGrades=[], courseSubjects=[], courseYears=[],courseTerms=[], courseClassTypes=[], courseStages=[])
@return: 如果不传入参数,创建手动、优惠10元、当天开始到7天后、常规班、全部校区、全部渠道、全部商品生效的优惠券,名称随机,如果创建失败返回False
"""
extra = {
"sendType": sendType
}
discountPolicy = {
"leastAmount": 0,
"discountType": "REDUCE",
"discountValue": discountValue
}
if receivedDelayDay:
validTimePolicy = cls.get_valid_time_policy(receivedDelayDay=receivedDelayDay, return_type="nowToDelayTime")
else:
validTimePolicy = cls.get_valid_time_policy(startTime=startTime, endTime=endTime, return_type="fixedTime")
channels = channels or cls.channels_list
schoolAreaIds = schoolAreaIds or cls.allSchoolAreaIds
goodsRules = cls.get_goods_rules_by_params(goodsType=goodsType, channels=channels, schoolAreaIds=schoolAreaIds,
rangeGoodsType=rangeGoodsType, goodsIds=goodsIds, **kwargs)
co = CouponSetOperation(extra=extra, discountPolicy=discountPolicy, validTimePolicy=validTimePolicy, goodsRules=goodsRules)
co.add_coupon_set()
if co.coupon_id:
return co
else:
return False
@classmethod
def add_full_reduce_coupon(cls, leastAmount=100, sendType="MANUAL", discountValue=10, startTime=None, endTime=None, receivedDelayDay=0,
goodsType="CLASS", channels=None, schoolAreaIds=None,
rangeGoodsType="ALL", goodsIds=None, **kwargs) -> CouponSetOperation:
"""
@param leastAmount: 满减条件金额
@param sendType: 发放类型
@param endTime: receivedDelayDay为0时, 有效,默认7天后
@param startTime: receivedDelayDay为0时, 有效,默认当天
@param discountValue: 优惠金额
@param receivedDelayDay: 领取当日起XX天有效
@param goodsType: 商品类型["CLASS", "CONTENT", "BOUTIQUE"]
@param channels: 渠道["PC_B", "APP_C", "APPLET_C"]
@param schoolAreaIds: 校区id
@param rangeGoodsType: 生效商品
@param goodsIds: 商品ID
@param kwargs: 包含(courseGrades=[], courseSubjects=[], courseYears=[],courseTerms=[], courseClassTypes=[], courseStages=[])
@return: 如果不传入参数,创建手动、满100优惠10元、当天开始到7天后、常规班、全部校区、全部渠道、全部商品生效的优惠券,名称随机,如果创建失败返回False
"""
extra = {
"sendType": sendType
}
discountPolicy = {
"leastAmount": leastAmount,
"discountType": "REDUCE",
"discountValue": discountValue
}
if receivedDelayDay:
validTimePolicy = cls.get_valid_time_policy(receivedDelayDay=receivedDelayDay, return_type="nowToDelayTime")
else:
validTimePolicy = cls.get_valid_time_policy(startTime=startTime, endTime=endTime, return_type="fixedTime")
channels = channels or cls.channels_list
schoolAreaIds = schoolAreaIds or cls.allSchoolAreaIds
goodsRules = cls.get_goods_rules_by_params(goodsType=goodsType, channels=channels, schoolAreaIds=schoolAreaIds,
rangeGoodsType=rangeGoodsType, goodsIds=goodsIds, **kwargs)
co = CouponSetOperation(bizType="FULL_REDUCE", extra=extra, discountPolicy=discountPolicy, validTimePolicy=validTimePolicy, goodsRules=goodsRules)
co.add_coupon_set()
if co.coupon_id:
return co
else:
return False
# 获取优惠时间设置
@staticmethod
def get_valid_time_policy(startTime=None, endTime=None, receivedDelayDay=7, return_type="All"):
"""
@param startTime:
@param endTime:
@param receivedDelayDay:
@param return_type: 返回的字典字段,默认全部 fixedTime, nowToDelayTime
@return:
"""
today_time = GetTime.get_today()
today_start = today_time.get("today_start")
after_time = GetTime.get_today_after(receivedDelayDay)
after_end = after_time.get(f"after_time_{receivedDelayDay}")
validTimePolicy = {
"fixedTime": {
# 优惠券生效开始时间
"startTime": startTime or today_start,
# 优惠券结束时间
"endTime": endTime or after_end
},
"nowToDelayTime": {
# 领取当日起XX天有效
"receivedDelayDay": receivedDelayDay
}
}
if return_type == "fixedTime":
validTimePolicy.pop("nowToDelayTime")
return validTimePolicy
elif return_type == "nowToDelayTime":
validTimePolicy.pop("fixedTime")
return validTimePolicy
else:
return validTimePolicy
# 获取优惠政策设置
@staticmethod
def get_discount_policy(bizType="CASH", discountType="REDUCE"):
"""
@param bizType: 优惠券类型
@param discountType: 优惠类型
@return:
"""
if bizType == "FULL_REDUCE":
leastAmount = random.randint(100, 500)
else:
leastAmount = 0
if discountType == "REDUCE":
discountValue = random.randint(10, 50)
else:
discountValue = round(random.uniform(1, 10), 1)
discountPolicy = {
"leastAmount": leastAmount,
"discountType": discountType,
"discountValue": discountValue
}
return discountPolicy
# 获取优惠规则设置按参数
@classmethod
def get_goods_rules_by_params(cls, goodsType="CLASS", channels=None, schoolAreaIds=None, rangeGoodsType="ALL", goodsIds=None, **kwargs):
goodsRules = {
"goodsType": goodsType,
"channels": channels,
"schoolAreaIds": schoolAreaIds,
"rangeGoodsType": rangeGoodsType,
}
if rangeGoodsType == "PART_PROPERTY":
goodsRules["goodsRangeRules"] = {
"goodsIds": [],
"goodsRulePartPropertyRules": {
"courseGoodsRules": cls.get_course_goods_rules_by_params(goodsType, **kwargs)
}
}
elif rangeGoodsType == "PART_IDS":
goodsRules["goodsRangeRules"] = {
"goodsIds": goodsIds or random.sample(cls.goodsId_list, 10),
"goodsRulePartPropertyRules": {
"courseGoodsRules": cls.get_course_goods_rules_by_params(goodsType)
}
}
else:
goodsRules["goodsRangeRules"] = {
"goodsIds": [],
"goodsRulePartPropertyRules": {
"courseGoodsRules": cls.get_course_goods_rules_by_params(goodsType)
}
}
return goodsRules
# 获取商品属性规则设置按传入参数
@staticmethod
def get_course_goods_rules_by_params(goodsType, courseGrades=[], courseSubjects=[], courseYears=[],
courseTerms=[], courseClassTypes=[], courseStages=[]):
courseGoodsRules = {
"courseGrades": courseGrades,
"courseSubjects": courseSubjects
}
if goodsType == "CLASS":
temp = {
"courseYears": courseYears,
"courseTerms": courseTerms,
"courseClassTypes": courseClassTypes,
"courseStages": courseStages
}
elif goodsType == "BOUTIQUE":
temp = {
"courseClassTypes": courseClassTypes,
}
else:
temp = {
"courseYears": courseYears,
"courseTerms": courseTerms
}
return {**courseGoodsRules, **temp}
if __name__ == '__main__':
AddCouponMethod.add_cash_coupon()
import datetime
from common.operation_time import GetTime
......@@ -46,6 +48,19 @@ class DateDataConfig:
week_group = sorted(week_group, key=itemgetter("year_week"))
return week_group
@staticmethod
def get_current_year_before_and_after(num=2):
"""
@param num: 前后几年
@return:
"""
current_year = datetime.datetime.now().year
year_list = [current_year]
for x in range(1, num+1):
year_list.append(current_year + x)
year_list.append(current_year - x)
return sorted(year_list)
if __name__ == '__main__':
print(DateDataConfig.get_date_list_de_list())
print(DateDataConfig.get_current_year_before_and_after(3))
......@@ -45,6 +45,10 @@ class GlobalDataConfig:
# 30天前的日期
before_date_30 = GetTime.get_today_before(30).get("before_date_30")
image_url_list = ["https://test-1257124244.image.myqcloud.com/gosGoodsImage/image/7ed1e0c6-4604-4bf7-8f06-8b5ee99d8ecd.jpeg",
"https://test-1257124244.image.myqcloud.com/gosGoodsImage/image/e4897ecc-ed71-4958-b3f2-10ac52901351.jpeg"
]
def __init__(self):
# 常规班课
self.routine_class_type = GlobalDataConfig.class_type.get("常规班课")
......
from common.connect_db import OperationDb
import random
province_sql = """
SELECT
province.ID AS province_id,
province.NAME AS province_name,
city.ID AS city_id,
city.NAME AS city_name,
county.ID AS county_id,
county.NAME AS county_name
FROM
PUBLIC.administrative_area county
LEFT JOIN PUBLIC.administrative_area city ON county.parent_id = city.ID
LEFT JOIN PUBLIC.administrative_area province ON city.parent_id = province.ID
WHERE
province.id in (510000, 500000, 520000)
"""
class ProvinceCode:
# 获取# 重庆、四川、贵州的省市区数据
@staticmethod
def get_province_code_list() -> list:
result = OperationDb.pd_query_sql(province_sql)
return result.to_dict(orient="records")
@classmethod
def get_province_code_random_one(cls) -> dict:
result = cls.get_province_code_list()
return random.choice(result)
@classmethod
def get_province_code_by_county_name(cls, county_name)-> list:
result = cls.get_province_code_list()
return [x for x in result if x.get("county_name") == county_name]
@classmethod
def get_province_code_by_county_id(cls, county_id)-> list:
result = cls.get_province_code_list()
return [x for x in result if x.get("county_id") == county_id]
@classmethod
def get_province_code_by_city_name(cls, city_name)-> list:
result = cls.get_province_code_list()
return [x for x in result if x.get("city_name") == city_name]
@classmethod
def get_province_code_by_city_id(cls, city_id)-> list:
result = cls.get_province_code_list()
return [x for x in result if x.get("city_id") == city_id]
# 重庆、四川、贵州的省市区字典
province_code = [
{
'id': 500000,
......
from common.connect_db import OperationDb
class StudentData:
student_status = ["1110", "1120", "1130", "1140", "1150", "1160"]
@staticmethod
def get_student_no_list(num=10):
sql = f"select student_no from service_profile.student limit {num}"
result = OperationDb.pd_query_sql(sql)
result = result.to_dict("list").get("student_no")
return result
if __name__ == '__main__':
print(StudentData.get_student_no_list())
\ No newline at end of file
import random
from script.global_data_config.province_code_data import ProvinceCode
from script.global_data_config.class_data import ClassDataConfig
# 获取新增类目数据
def get_add_category_data(num=10):
province_data = ProvinceCode.get_province_code_list()
province_datas = random.sample(province_data, num)
for province_data in province_datas:
ran_num = random.randint(1, 5)
subjects = random.sample(ClassDataConfig.subject, ran_num)
province_data["subjects"] = subjects
return province_datas
# 获取编辑类目的科目数据
def get_edit_category_subjects(num=10):
subjects_list = []
for x in range(num):
ran_num = random.randint(1, 5)
subjects = random.sample(ClassDataConfig.subject, ran_num)
subjects_list.append(subjects)
return subjects_list
import random
from script.global_data_config.school_data import SchoolDataConfig
from script.global_data_config.date_data import DateDataConfig
from script.global_data_config.class_data import ClassDataConfig
from common.operation_time import GetTime
allSchoolAreaIds = SchoolDataConfig.get_department_id()
bizType_list = ["CASH", "FULL_REDUCE"]
sendType_list = ["MANUAL", "AUTO"]
channels_list = ["PC_B", "APP_C", "APPLET_C"]
rangeGoodsType_list = ["ALL", "PART_PROPERTY", "PART_IDS"]
discountType_list = ["REDUCE", "DISCOUNT"]
goodsType_list = ["CLASS", "CONTENT", "BOUTIQUE"]
goodsId_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
# 获取优惠时间设置
def get_valid_time_policy(startTime=None, endTime=None, receivedDelayDay=7, return_type="All"):
"""
@param startTime:
@param endTime:
@param receivedDelayDay:
@param return_type: 返回的字典字段,默认全部 fixedTime, nowToDelayTime
@return:
"""
today_time = GetTime.get_today()
today_start = today_time.get("today_start")
after_time = GetTime.get_today_after(receivedDelayDay)
after_end = after_time.get(f"after_time_{receivedDelayDay}")
validTimePolicy = {
"fixedTime": {
# 优惠券生效开始时间
"startTime": startTime or today_start,
# 优惠券结束时间
"endTime": endTime or after_end
},
"nowToDelayTime": {
# 领取当日起XX天有效
"receivedDelayDay": receivedDelayDay
}
}
if return_type == "fixedTime":
validTimePolicy.pop("nowToDelayTime")
return validTimePolicy
elif return_type == "nowToDelayTime":
validTimePolicy.pop("fixedTime")
return validTimePolicy
else:
return validTimePolicy
# 获取优惠政策设置
def get_discount_policy(bizType="CASH", discountType="REDUCE"):
if bizType == "FULL_REDUCE":
leastAmount = random.randint(100, 500)
else:
leastAmount = 0
if discountType == "REDUCE":
discountValue = random.randint(10, 50)
else:
discountValue = round(random.uniform(1, 10), 1)
discountPolicy = {
"leastAmount": leastAmount,
"discountType": discountType,
"discountValue": discountValue
}
return discountPolicy
# 获取优惠规则设置
def get_goods_rules(goodsType="CLASS", channels=None, schoolAreaIds=None, rangeGoodsType="ALL", goodsIds=None):
goodsRules = {
"goodsType": goodsType,
"channels": channels or channels_list,
"schoolAreaIds": schoolAreaIds or random.sample(allSchoolAreaIds, 20),
"rangeGoodsType": rangeGoodsType,
}
if rangeGoodsType == "PART_PROPERTY":
goodsRules["goodsRangeRules"] = {
"goodsIds": [],
"goodsRulePartPropertyRules": {
"courseGoodsRules": get_course_goods_rules(goodsType)
}
}
elif rangeGoodsType == "PART_IDS":
goodsRules["goodsRangeRules"] = {
"goodsIds": goodsIds or random.sample(goodsId_list, 10),
"goodsRulePartPropertyRules": {
"courseGoodsRules": get_course_goods_rules(goodsType)
}
}
else:
goodsRules["goodsRangeRules"] = {
"goodsIds": [],
"goodsRulePartPropertyRules": {
"courseGoodsRules": get_course_goods_rules(goodsType)
}
}
return goodsRules
# 获取商品属性规则设置
def get_course_goods_rules(goodsType):
courseGoodsRules = {
"courseGrades": random.sample(ClassDataConfig.grade, 2),
"courseSubjects": random.sample(ClassDataConfig.subject, 2)
}
if goodsType == "CLASS":
temp = {
"courseYears": random.sample(DateDataConfig.get_current_year_before_and_after(), 2),
"courseTerms": random.sample(ClassDataConfig.term, 2),
"courseClassTypes": random.sample(ClassDataConfig.get_routine_class_type(), 2),
"courseStages": random.sample(ClassDataConfig.phase, 2)
}
elif goodsType == "BOUTIQUE":
temp = {
"courseClassTypes": random.sample(ClassDataConfig.get_boutique_class_type(), 2),
}
elif goodsType == "CONTENT":
temp = {
"courseYears": random.sample(DateDataConfig.get_current_year_before_and_after(), 2),
"courseTerms": random.sample(ClassDataConfig.term, 2),
}
else:
temp = {
"courseYears": [],
"courseTerms": [],
"courseGrades": [],
"courseSubjects": [],
"courseClassTypes": [],
"courseStages": []
}
return {**courseGoodsRules, **temp}
# 获取新增优惠设置组合数据
def get_add_coupon_set_data():
coupon_set_data_list = []
for bizType in bizType_list:
for sendType in sendType_list:
for discountType in discountType_list:
for goodsType in goodsType_list:
for rangeGoodsType in rangeGoodsType_list:
coupon_data = {
"name": f"自动化接口优惠券_{random.randint(100000000, 999999999)}",
"desc": f"自动化接口优惠券描述_{random.randint(100000000, 999999999)}",
"extra": {
"sendType": sendType
},
"discountPolicy": get_discount_policy(bizType=bizType, discountType=discountType),
"validTimePolicy": get_valid_time_policy(),
"remark": "自动化接口优惠券备注_{random.randint(100000000, 999999999)}",
"bizType": bizType,
"goodsRules": get_goods_rules(goodsType=goodsType, rangeGoodsType=rangeGoodsType)
}
coupon_set_data_list.append(coupon_data)
return coupon_set_data_list
# 设置自动发放条件数据
def get_auto_send_condition_data():
day_num = random.randint(1, 30)
today_time = GetTime.get_today()
today_start = today_time.get("today_start")
after_time = GetTime.get_today_after(day_num)
after_end = after_time.get(f"after_time_{day_num}")
ran_grade_num = random.randint(1, len(ClassDataConfig.grade))
send_condition_data = {
"beginDate": today_start,
"endDate": after_end,
"schoolAreaIds": random.sample(allSchoolAreaIds, 20),
"grades": random.sample(ClassDataConfig.grade, ran_grade_num)
}
return send_condition_data
import random
from script.base_api_data.api_operation_web.goods_operation import GoodsOperation
from script.ji_yun_ying_pc.mall.store_shopping_mall.data_cofig import mall_data
from script.global_data_config.class_data import ClassDataConfig
from common.common_util import get_random_list_by_list
def get_add_goods_data_list():
add_goods_data_list = []
for courseType in GoodsOperation.courseType_list:
for courseTeachWay in GoodsOperation.courseTeachWay_list:
goods_data = {
"price": random.randint(1000, 2000),
"storeId": None,
"sourceId": None,
"courseType": courseType,
"courseSubType": "NORMAL",
"courseClsType": None,
"courseGrades": get_random_list_by_list(ClassDataConfig.grade),
"courseSubjects": get_random_list_by_list(GoodsOperation.courseSubType_list),
"courseTerm": None,
"courseYear": None,
"courseTeachWay": courseTeachWay,
"coursePeriod": None,
"channels": get_random_list_by_list(GoodsOperation.channels_list)
}
goods_data = {**goods_data, **mall_data.get_sale_pay_begin_end_time()}
add_goods_data_list.append(goods_data)
return add_goods_data_list
print(get_add_goods_data_list())
from common.operation_time import GetTime
import random
def get_sale_pay_begin_end_time() -> dict:
"""
@return: 开始时间为今天, 结束时间随机, 支付的结束时间比上架时间少一天
"""
day_num = random.randint(0, 90)
today_time = GetTime.get_today()
today_start = today_time.get("today_start")
after_time = GetTime.get_today_after(day_num)
after_end = after_time.get(f"after_time_{day_num}")
pay_day_num = (day_num - 1) if (day_num - 1) > 0 else 0
pay_after_time = GetTime.get_today_after(pay_day_num)
pay_after_end = pay_after_time.get(f"after_time_{pay_day_num}")
return {
"saleBeginTime": today_start,
"saleEndTime": after_end,
"payBeginTime": today_start,
"payEndTime": pay_after_end
}
from script.ji_yun_ying_pc.mall.store_shopping_mall.data_cofig import mall_data
# 获取新增套餐数据
def get_add_package_data_list():
add_package_data_list = []
add_package_data = {
"courseIdList": ["课程ID列表"],
"priceList": ["课程对应的价格"],
"saleChannel": "APPLET",
"goodsCategoryCodeList": ["类目code列表"],
}
add_package_data = {**add_package_data, **mall_data.get_sale_pay_begin_end_time()}
add_package_data_list.append(add_package_data)
return add_package_data_list
import time
import allure
from script.base_api.api_operation_web.goods import goods_category_get
from script.base_api.api_operation_web.goods import goods_politicsArea_category_pageList_post
from script.base_api.api_operation_web.goods import goods_politicsArea_category_post
from script.base_api.api_operation_web.goods import goods_politicsArea_category_put
from script.base_api.api_operation_web.goods import goods_politicsArea_category_delete
import pytest
from script.base_api_data.api_operation_web.goods_operation import CategoryOperation
from script.ji_yun_ying_pc.mall.store_shopping_mall.data_cofig import category_data
from script.base_api_data.api_jksxb_app.user_data import UserOperation
from script.base_api_data.api_operation_web.student_data import AddStudent
from script import public_asserts
from script.default_header import jyy_header
@allure.epic("测试门店商城商品")
@allure.feature("测试门店商城商品")
@allure.feature("测试门店商城类目")
class TestCategory:
@allure.story("测试商品列表查询")
@allure.story("测试商品类目列表查询")
def test_list_search(self):
res = goods_category_get(params={"code": "GRADE"}, header=jyy_header)
res = CategoryOperation.get_category_list()
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试市政区域类目管理列表查询")
def test_area_category_list_search(self):
body = {
"pageNum": 1,
"pageSize": 10,
"province": "",
"city": "",
"county": ""
}
res = goods_politicsArea_category_pageList_post(body=body, header=jyy_header)
pageNum = 1
pageSize = 10
province = ""
city = ""
county = ""
res = CategoryOperation.get_area_category_list(pageNum=pageNum, pageSize=pageSize, province=province, city=city, county=county)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试新增市政区域类目")
def test_add_area_category(self):
body = {
"province": 0,
"provinceName": "省名称",
"city": 0,
"cityName": "市名称",
"county": 0,
"countyName": "区名称",
"subjects": ["数学", "英语"]
}
res = goods_politicsArea_category_post(body=body, header=jyy_header)
@allure.story("测试新增市政区域类目-按省市区新增")
@pytest.mark.parametrize("category_dict", category_data.get_add_category_data())
def test_add_area_category_by_county(self, category_dict):
province_id = category_dict.get("province_id")
city_id = category_dict.get("city_id")
county_id = category_dict.get("county_id")
check_result = CategoryOperation.is_have_area_category(province=province_id, city=city_id, county=county_id)
if check_result:
CategoryOperation.delete_area_category(check_result.get("id"))
co = CategoryOperation(province=province_id,
provinceName=category_dict.get("province_name"),
city=city_id,
cityName=category_dict.get("city_name"),
county=county_id,
countyName=category_dict.get("county_name"),
subjects=category_dict.get("subjects"))
res = co.add_area_category_by_county()
public_asserts.public_assert(res)
is_have = co.is_have_current_area_category()
assert is_have, f"新增后列表有当前类目"
@allure.story("测试新增市政区域类目-按省市")
@pytest.mark.parametrize("category_dict", category_data.get_add_category_data())
def test_add_area_category_by_city(self, category_dict):
province_id = category_dict.get("province_id")
city_id = category_dict.get("city_id")
check_result = CategoryOperation.is_have_area_category(province=province_id, city=city_id)
if check_result:
CategoryOperation.delete_area_category(check_result.get("id"))
co = CategoryOperation(province=province_id,
provinceName=category_dict.get("province_name"),
city=city_id,
cityName=category_dict.get("city_name"),
subjects=category_dict.get("subjects"))
res = co.add_area_category_by_city()
public_asserts.public_assert(res)
is_have = co.is_have_current_area_category()
assert is_have, f"新增后列表有当前类目"
@allure.story("测试新增市政区域类目-按省")
@pytest.mark.parametrize("category_dict", category_data.get_add_category_data())
def test_add_area_category_by_province(self, category_dict):
province_id = category_dict.get("province_id")
check_result = CategoryOperation.is_have_area_category(province=province_id)
if check_result:
CategoryOperation.delete_area_category(check_result.get("id"))
co = CategoryOperation(province=province_id,
provinceName=category_dict.get("province_name"),
subjects=category_dict.get("subjects"))
res = co.add_area_category_by_province()
public_asserts.public_assert(res)
is_have = co.is_have_current_area_category()
assert is_have, f"新增后列表有当前类目"
@allure.story("测试新增市政区域类目-按省市区新增-不能重复新增")
def test_add_area_category_repeat(self):
co = CategoryOperation(random_data=True)
result_check = CategoryOperation.is_have_area_category(province=co.province, city=co.city, county=co.county)
if result_check:
res = co.add_area_category_by_county()
assert res.get("code") != 0, "重复新增code不等于0"
else:
co.add_area_category_by_county()
is_add_success = co.is_have_current_area_category()
assert is_add_success, f"新增失败,不再执行重复新增{is_add_success}"
res = co.add_area_category_by_county()
assert res.get("code") != 0, "重复新增code不等于0"
@allure.story("测试新增市政区域类目-按省市区新增-错误数据不能新增")
def test_add_area_category_err_data(self):
co = CategoryOperation(random_data=True)
co.subjects = []
res = co.add_area_category_by_county()
assert res.get("code"), f"科目为空,不能新增{res}"
co.subjects = ["数学"]
co.province = None
co.city = None
co.county = None
res = co.add_area_category_by_county()
assert res.get("code"), f"省市区无编码不能新增,不能新增{res}"
@allure.story("测试编辑市政区域类目")
def test_edit_area_category(self):
area_category_id = 1
body = {
"id": area_category_id,
"subjects": ["数学", "英语"]
}
res = goods_politicsArea_category_put(body=body, header=jyy_header)
@pytest.mark.parametrize("subjects", category_data.get_edit_category_subjects())
def test_edit_area_category(self, subjects):
co = CategoryOperation(random_data=True)
result_check = CategoryOperation.is_have_area_category(province=co.province, city=co.city, county=co.county)
if result_check:
co.area_category_id = result_check.get("id")
else:
co.add_area_category_by_county()
is_add_success = co.is_have_current_area_category()
assert is_add_success, f"新增失败,不再执行编辑{is_add_success}"
co.area_category_id = is_add_success.get("id")
co.subjects = subjects
res = co.edit_current_area_category()
public_asserts.public_assert(res)
is_have = co.is_have_current_area_category()
assert is_have, f"编辑后列表有当前类目"
@allure.story("测试编辑市政区域类目")
def test_edit_area_category_err_data(self):
co = CategoryOperation(random_data=True)
result_check = CategoryOperation.is_have_area_category(province=co.province, city=co.city, county=co.county)
if result_check:
co.area_category_id = result_check.get("id")
else:
co.add_area_category_by_county()
is_add_success = co.is_have_current_area_category()
assert is_add_success, f"新增失败,不再执行编辑{is_add_success}"
co.area_category_id = is_add_success.get("id")
co.subjects = []
res = co.edit_current_area_category()
assert res.get("code"), f"科目为空不能编辑{res}"
co.subjects = None
res = co.edit_current_area_category()
assert res.get("code"), f"科目为空不能编辑{res}"
co.subjects = "'"
res = co.edit_current_area_category()
assert res.get("code"), f"科目为字符串不能编辑{res}"
@allure.story("测试删除市政区域类目")
def test_delete_area_category(self):
area_category_id = 1
res = goods_politicsArea_category_delete(params={"id": area_category_id}, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试家长操作")
def test_user(self):
add_student = AddStudent()
result = add_student.add_and_buy_class()
if result:
account = add_student.firstUserPhone
jz_user = UserOperation(account, "88888888")
res = jz_user.login()
public_asserts.public_assert(res)
res = jz_user.get_student_by_user()
public_asserts.public_assert(res)
res = jz_user.upload_device_token()
public_asserts.public_assert(res)
co = CategoryOperation(random_data=True)
result_check = CategoryOperation.is_have_area_category(province=co.province, city=co.city, county=co.county)
if result_check:
co.area_category_id = result_check.get("id")
else:
assert False, "新建学生入班失败"
co.add_area_category_by_county()
is_add_success = co.is_have_current_area_category()
assert is_add_success, f"新增失败,不再执行删除{is_add_success}"
co.area_category_id = is_add_success.get("id")
res = co.delete_current_area_category()
public_asserts.public_assert(res)
is_have = co.is_have_current_area_category()
assert not is_have, f"删除后列表没有当前类目"
import allure
import pytest
# 设置
from script.base_api.api_operation_web.coupon import coupon_config_list_get
from script.base_api.api_operation_web.coupon import coupon_config_post
from script.base_api.api_operation_web.coupon import coupon_config_put
from script.base_api.api_operation_web.coupon import coupon_config_delete
from script.base_api.api_operation_web.coupon import coupon_config_goods_list_get
from script.base_api.api_operation_web.coupon import coupon_config_get
from script.base_api.api_operation_web.coupon import coupon_config_status_put
# 发放
from script.base_api.api_operation_web.coupon import coupon_sendByStudentInfo_post
from script.base_api.api_operation_web.coupon import coupon_sendByStudentNo_post
from script.base_api.api_operation_web.coupon import coupon_sendByFile_post
from script.base_api.api_operation_web.coupon import coupon_sendCouponByKey_post
from script.base_api.api_operation_web.coupon import coupon_autoIssue_post
from script.base_api.api_operation_web.coupon import coupon_autoIssue_get
from script.base_api.api_operation_web.coupon import coupon_receive_recall_list_get
from script.base_api.api_operation_web.coupon import coupon_del_post
from script.base_api.api_operation_web.coupon import coupon_unDel_post
import random
from pytest_assume.plugin import assume
from script.global_data_config.add_coupon_method import AddCouponMethod
# 匹配
from script.base_api.api_operation_web.coupon import coupon_matchGoods_get
from script.base_api_data.api_operation_web.coupon_operation import CouponSetOperation, CouponItemOperation
from script import public_asserts
from script.default_header import jyy_header
from script.ji_yun_ying_pc.mall.store_shopping_mall.data_cofig import coupon_data
from script.global_data_config.student_data import StudentData
from script.global_data_config.class_data import ClassDataConfig
@allure.epic("测试优惠券")
......@@ -29,202 +21,82 @@ from script.default_header import jyy_header
class TestCouponsSet:
@allure.story("测试优惠券列表查询")
def test_coupon_set_list_search(self):
params = {
"pageNum": 1,
"pageSize": 100,
# 启用:ENABLED 禁用:DISABLED
"statuses": "",
# 优惠券名称或id
"keyword": "",
# PC_B:极运营 APP_C:用户手机端 APPLET_C:用户微信小程序
"channels": "",
# WILL:即将开始 DOING : 进行中 DONE:已结束
"validStatuses": "",
# 校区id,隔号分隔
"schoolAreaIds": "",
# 优惠券业务类型 CASH: 现金 FULL_REDUCE:满减
"bizType": ""
}
res = coupon_config_list_get(params=params, header=jyy_header)
@pytest.mark.parametrize("biz_type", coupon_data.bizType_list)
def test_coupon_set_list_search_biz_type(self, biz_type):
res = CouponSetOperation.get_coupon_set_list(bizType=biz_type)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试新增优惠券设置")
def test_add_coupon_set(self):
body = {
"name": "名称",
"desc": "描述",
"extra": {
# 发放类型MANUAL-手动发行 AUTO-自动发行
"sendType": "MANUAL"
},
"discountPolicy": {
# 优惠券门槛(单位分)默认0
"leastAmount": 0,
# 优惠类型: REDUCE:直减 DISCOUNT:折扣
"discountType": "REDUCE",
# 优惠面值: REDUCE: 直减金额单位分 DISCOUNT:折扣,例如88 8.8折
"discountValue": 100
},
"validTimePolicy": {
"fixedTime": {
# 优惠券生效开始时间
"startTime": "2021-06-01 00:00:00",
# 优惠券结束时间
"endTime": "2021-12-01 23:59:59"
},
"nowToDelayTime": {
# 领取当日起XX天有效
"receivedDelayDay": 7
}
},
"remark": "备注",
# 优惠券业务类型 CASH: 现金 FULL_REDUCE:满减
"bizType": "CASH",
"goodsRules": {
# 商品课程类型:CLASS班课 CONTENT内容 BOUTIQUE精品
"goodsType": "CLASS",
# PC_B:极运营 APP_C:用户手机端 APPLET_C:用户微信小程序
"channels": ["PC_B", "APP_C", "APPLET_C"],
# 生效校区ids
"schoolAreaIds": [],
# 商品范围类型 :ALL:全部商品可用;PART_PROPERTY:部分指定商品属性可用;PART_IDS 指定部分商品可用
"rangeGoodsType": "ALL",
"goodsRangeRules": {
# 生效商品id,只有当rangeType为PART_IDS 有效
"goodsIds": [],
"courseGoodsRules": {
# 年份; 无限传空数组
"courseYears": [],
# 学期;无限传空数组
"courseTerms": [],
# 年级;无限传空数组
"courseGrades": [],
# 科目;无限传空数组
"courseSubjects": [],
# 班级;无限传空数组
"courseClassTypes": [],
# 期数;无限传空数组
"courseStages": []
}
}
}
}
res = coupon_config_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试编辑优惠券设置")
def test_edit_coupon_set(self):
coupon_id = 1
body = {
"id": coupon_id,
"name": "名称",
"desc": "描述",
# 启用:ENABLED 禁用:DISABLED
"status": "ENABLED",
"extra": {
# 发放类型MANUAL-手动发行 AUTO-自动发行
"sendType": "MANUAL"
},
"discountPolicy": {
# 优惠券门槛(单位分)默认0
"leastAmount": 0,
# 优惠类型: REDUCE:直减 DISCOUNT:折扣
"discountType": "REDUCE",
# 优惠面值: REDUCE: 直减金额单位分 DISCOUNT:折扣,例如88 8.8折
"discountValue": 100
},
"validTimePolicy": {
"fixedTime": {
# 优惠券生效开始时间
"startTime": "2021-06-01 00:00:00",
# 优惠券结束时间
"endTime": "2021-12-01 23:59:59"
},
"nowToDelayTime": {
# 领取当日起XX天有效
"receivedDelayDay": 7
}
},
"remark": "备注",
# 优惠券业务类型 CASH: 现金 FULL_REDUCE:满减
"bizType": "CASH",
"goodsRules": {
# 商品课程类型:CLASS班课 CONTENT内容 BOUTIQUE精品
"goodsType": "CLASS",
# PC_B:极运营 APP_C:用户手机端 APPLET_C:用户微信小程序
"channels": ["PC_B", "APP_C", "APPLET_C"],
# 生效校区ids
"schoolAreaIds": [],
# 商品范围类型 :ALL:全部商品可用;PART_PROPERTY:部分指定商品属性可用;PART_IDS 指定部分商品可用
"rangeGoodsType": "ALL",
"goodsRangeRules": {
# 生效商品id,只有当rangeType为PART_IDS 有效
"goodsIds": [],
"courseGoodsRules": {
# 年份; 无限传空数组
"courseYears": [],
# 学期;无限传空数组
"courseTerms": [],
# 年级;无限传空数组
"courseGrades": [],
# 科目;无限传空数组
"courseSubjects": [],
# 班级;无限传空数组
"courseClassTypes": [],
# 期数;无限传空数组
"courseStages": []
}
}
}
}
res = coupon_config_put(body=body, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
@allure.story("测试新增、编辑、删除、停用、启用、设置自动发放优惠券设置")
@pytest.mark.parametrize("add_coupon_data", coupon_data.get_add_coupon_set_data())
def test_operation_coupon_set(self, add_coupon_data):
co = CouponSetOperation(**add_coupon_data)
add_res = co.add_coupon_set()
public_asserts.public_assert(add_res)
data = add_res.get("data")
assert data, f"响应的data不为空{data}"
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, coupon_name=co.name, bizType=co.bizType)
assert is_have, f"新增成功后列表有该id和名称的数据{is_have}"
# 编辑优惠券
edit_res = co.edit_current_coupon_set()
public_asserts.public_assert(edit_res)
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, coupon_name=co.name, bizType=co.bizType)
assert is_have, f"编辑成功后列表有该id和名称的数据{is_have}"
# 查询优惠券详情
detail_res = CouponSetOperation.get_coupon_set_detail(co.coupon_id)
public_asserts.public_assert(detail_res)
detail_data = detail_res.get("data")
assert detail_data, f"详情接口data不为空{detail_data}"
with assume:
assert co.name == detail_data.get("name"), f"详情接口,{ co.name },{detail_data.get('name')}"
assert co.desc == detail_data.get("desc"), f"详情接口,{co.desc },{detail_data.get('desc')}"
assert co.remark == detail_data.get("remark"), f"详情接口,{co.remark},{detail_data.get('remark')}"
assert co.bizType == detail_data.get("bizType"), f"详情接口,{co.remark},{detail_data.get('bizType')}"
assert "ENABLED" == detail_data.get("status"), f"详情接口,{detail_data.get('status')}"
# 停用优惠设置
stop_res = CouponSetOperation.stop_or_start_coupon_set(co.coupon_id)
public_asserts.public_assert(stop_res)
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, statuses="DISABLED", coupon_name=co.name, bizType=co.bizType)
assert is_have, f"停用中有数据,{is_have}"
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, statuses="ENABLED", coupon_name=co.name, bizType=co.bizType)
assert not is_have, f"启用中没有数据,{is_have}"
# 启用优惠设置
stop_res = CouponSetOperation.stop_or_start_coupon_set(co.coupon_id, status="ENABLED")
public_asserts.public_assert(stop_res)
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, statuses="DISABLED", coupon_name=co.name, bizType=co.bizType)
assert not is_have, f"停用中没有数据,{is_have}"
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, statuses="ENABLED", coupon_name=co.name, bizType=co.bizType)
assert is_have, f"启用中有数据,{is_have}"
if co.extra.get("sendType") == "AUTO":
# 设置前, 查看设置的发放条件
res_set_before = CouponSetOperation.get_coupon_auto_send_set(co.coupon_id)
public_asserts.public_assert(res_set_before)
# 设置自动发放条件
auto_send_condition_data = coupon_data.get_auto_send_condition_data()
add_auto_res = CouponSetOperation.set_coupon_auto_send_condition(co.coupon_id, **auto_send_condition_data)
public_asserts.public_assert(add_auto_res)
# 设置后, 查看设置的发放条件
res_set_after = CouponSetOperation.get_coupon_auto_send_set(co.coupon_id)
public_asserts.public_assert(res_set_after)
res_set_after_data = res_set_after.get("data")
with assume:
assert auto_send_condition_data.get("beginDate") == res_set_after_data.get("beginDate"), f"设置条件{auto_send_condition_data}"
assert auto_send_condition_data.get("endDate") == res_set_after_data.get("endDate"), f"设置条件{auto_send_condition_data}"
assert sorted(auto_send_condition_data.get("grades")) == sorted(res_set_after_data.get("grades")), f"设置条件{auto_send_condition_data}"
assert sorted(auto_send_condition_data.get("schoolAreaIds")) == sorted(res_set_after_data.get("schoolAreaIds")), f"设置条件{auto_send_condition_data}"
# 删除优惠设置
delete_res = CouponSetOperation.delete_coupon_set([co.coupon_id])
public_asserts.public_assert(delete_res)
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, statuses="DISABLED", coupon_name=co.name, bizType=co.bizType)
assert not is_have, f"删除后,停用中没有数据,{is_have}"
is_have = CouponSetOperation.is_have_coupon_set(co.coupon_id, statuses="ENABLED", coupon_name=co.name, bizType=co.bizType)
assert not is_have, f"删除后,启用中没有数据,{is_have}"
@allure.story("测试批量删除优惠券设置")
def test_delete_coupon_set(self):
params = {"ids": "1,2,3"}
res = coupon_config_delete(params=params, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试获取优惠券详情")
def test_coupon_ser_detail_search(self):
coupon_id = 1
params = {
"id": coupon_id,
}
res = coupon_config_get(params=params, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试优惠券生效商品查询")
def test_coupon_good_list_search(self):
coupon_id = 1
params = {
"couponId": coupon_id,
}
res = coupon_config_goods_list_get(params=params, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试批量删除优惠券设置")
@pytest.mark.parametrize("status", ["ENABLED", "DISABLED", "ENABLED"])
def test_update_coupon_set_status(self, status):
coupon_id = 1
body = {
"id": coupon_id,
# "启用:ENABLED 禁用:DISABLED
"status": status
}
res = coupon_config_status_put(body=body, header=jyy_header)
coupon_ids = [1, 2, 3]
res = CouponSetOperation.delete_coupon_set(coupon_ids)
public_asserts.public_assert(res)
......@@ -232,93 +104,67 @@ class TestCouponsSet:
@allure.feature("测试优惠券发放")
class TestCouponsSend:
cash_coupon_set: CouponSetOperation = None
full_reduce_coupon_set: CouponSetOperation = None
def setup_class(self):
TestCouponsSend.cash_coupon_set = AddCouponMethod.add_cash_coupon()
TestCouponsSend.full_reduce_coupon_set = AddCouponMethod.add_full_reduce_coupon()
@allure.story("测试按学生信息发放优惠券")
def test_send_by_student_info(self):
schoolAreaIds = []
couponIds = []
body = {
"schoolAreaIds": schoolAreaIds,
"couponIds": couponIds,
"year": 2021,
"term": "暑",
"grades": [],
"subjects": [],
"classTypes": [],
"studentStatuses": []
}
res = coupon_sendByStudentInfo_post(body=body, header=jyy_header)
@pytest.mark.parametrize("time_num", range(10))
def test_send_by_student_info(self, time_num):
schoolAreaIds = random.sample(coupon_data.allSchoolAreaIds, 10)
year = random.choice(ClassDataConfig.year)
term = random.choice(ClassDataConfig.term)
grades = random.sample(ClassDataConfig.grade, 3)
subjects = random.sample(ClassDataConfig.subject, 3)
classTypes = random.sample(ClassDataConfig.get_routine_class_type(), 5)
studentStatuses = random.sample(StudentData.student_status, 2)
# 现金卷发放
couponIds = [TestCouponsSend.cash_coupon_set.coupon_id]
res = CouponSetOperation.send_coupon_by_student_info(couponIds, schoolAreaIds, year, term,
grades=grades, subjects=subjects, classTypes=classTypes, studentStatuses=studentStatuses)
public_asserts.public_assert(res)
# 满减卷发放
couponIds = [TestCouponsSend.full_reduce_coupon_set.coupon_id]
res = CouponSetOperation.send_coupon_by_student_info(couponIds, schoolAreaIds, year, term,
grades=grades, subjects=subjects, classTypes=classTypes, studentStatuses=studentStatuses)
public_asserts.public_assert(res)
@allure.story("测试在线发放优惠券-按学号发放")
def test_send_by_student_no(self):
couponId = 1
body = {
"studentNos": 112232,
"couponId": couponId
}
res = coupon_sendByStudentNo_post(body=body, header=jyy_header)
studentNos = StudentData.get_student_no_list()
# 现金券发放
couponId = AddCouponMethod.add_cash_coupon()
res = CouponSetOperation.send_coupon_by_student_no(couponId, studentNos)
public_asserts.public_assert(res)
# 满减券发放
couponId = AddCouponMethod.add_full_reduce_coupon()
res = CouponSetOperation.send_coupon_by_student_no(couponId, studentNos)
public_asserts.public_assert(res)
@allure.story("测试在线发放优惠券-上传学生名单")
def test_send_by_student_name_list(self):
couponId = 1
body = {
"couponId": couponId,
"key": "导入学生后返回key"
}
res = coupon_sendCouponByKey_post(body=body, header=jyy_header)
key = "导入学生后返回key"
res = CouponSetOperation.send_coupon_by_student_name_list(couponId, key)
public_asserts.public_assert(res)
@allure.story("测试设置自动发放条件")
def test_set_auto_send_condition(self):
couponId = 1
schoolAreaIds = []
body = {
"couponId": couponId,
# 适用场景NEW_STUDENTU新用户
"autoIssueScenario": "NEW_STUDENT",
"beginDate": "2020-06-01 00:00:00",
"endDate": "2020-12-01 23:59:59",
"schoolAreaIds": schoolAreaIds,
"grades": []
}
res = coupon_autoIssue_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"data不为空,{data}"
@allure.story("测试查询自动发放条件")
def test_auto_send_set_search(self):
couponId = 1
params = {
"couponId": couponId,
}
res = coupon_autoIssue_get(params=params, header=jyy_header)
@allure.story("测试查询已撤回优惠券列表")
def test_receive_coupon_list_search(self):
pageNum = 1
pageSize = 100
keyword = ""
# 现金券查询
couponId = TestCouponsSend.cash_coupon_set.coupon_id
res = CouponSetOperation.get_receive_coupon_list_search(couponId, keyword=keyword, pageNum=pageNum, pageSize=pageSize)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"data不为空,{data}"
# @allure.story("测试发放优惠券-批量导入发放")
# def test_send_by_student_file(self):
# couponId = 1
# body = {
# "file": "MultipartFile 文件",
# "couponId": couponId
# }
# res = coupon_sendByFile_post(body=body, header=jyy_header)
# public_asserts.public_assert(res)
@allure.story("测试已撤回优惠券列表")
def test_receive_coupon_list_search(self):
couponId = 1
params = {
"pageNum": 1,
"pageSize": 100,
"couponId": couponId,
# 学生姓名、学生id、学号
"keyword": "",
}
res = coupon_receive_recall_list_get(params=params, header=jyy_header)
# 满减券查询
couponId = TestCouponsSend.full_reduce_coupon_set.coupon_id
res = CouponSetOperation.get_receive_coupon_list_search(couponId, keyword=keyword, pageNum=pageNum, pageSize=pageSize)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"data不为空,{data}"
......@@ -326,19 +172,13 @@ class TestCouponsSend:
@allure.story("测试撤回优惠券")
def test_receive_coupon(self):
couponId = 1
body = {
"couponId": couponId
}
res = coupon_del_post(body=body, header=jyy_header)
res = CouponItemOperation.receive_coupon(couponId)
public_asserts.public_assert(res)
@allure.story("测试取消撤回优惠券")
def test_cancel_receive_coupon(self):
couponId = 1
body = {
"couponId": couponId
}
res = coupon_unDel_post(body=body, header=jyy_header)
res = CouponItemOperation.cancel_receive_coupon(couponId)
public_asserts.public_assert(res)
......@@ -348,12 +188,7 @@ class TestGoodsMatchCoupon:
def test_match_coupon_list_search(self):
student_id = 2726216
goodsIds = []
params = {
"studentId": student_id,
# 商品id, 多个以隔号分隔
"goodsIds": goodsIds
}
res = coupon_matchGoods_get(params=params, header=jyy_header)
res = CouponItemOperation.match_coupon_list(student_id, goodsIds)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"data不为空,{data}"
import allure
from script.base_api.api_operation_web.goods import goods_manage_create_post
from script.base_api.api_operation_web.goods import goods_manage_update_put
from script.base_api.api_operation_web.goods import goods_manage_delete_delete
from script.base_api.api_operation_web.goods import goods_manage_pageList_post
from script.base_api.api_operation_web.goods import goods_manage_sale_post
from script.base_api.api_operation_web.goods import goods_manage_detail_get
from script.base_api.api_operation_web.goods import goods_pageList_post
from script.base_api.api_operation_web.goods import goods_generalPageList_post
import pytest
from script.base_api_data.api_operation_web.goods_operation import GoodsOperation
from script import public_asserts
from script.default_header import jyy_header
from script.ji_yun_ying_pc.mall.store_shopping_mall.data_cofig import goods_data
@allure.epic("测试门店商城类目")
......@@ -18,170 +11,92 @@ class TestCategory:
@allure.story("测试商品选购列表查询")
def test_choose_buy_goods_list_search(self):
body = {
"pageNum": 1,
"pageSize": 100,
# 商家id(校区id)
"storeId": "",
# 商品课程类型:CLASS班课 CONTENT内容 BOUTIQUE精品
"courseType": "",
# 商品课程课型:NORMAL常规
"courseSubType": "",
# 商品课程班型:JI_SI极思 V1_1一对一
"courseClsType": "",
"courseGrade": "三年级",
# 商品课程学科:MATH数学 ENGLISH英语 CHINESE语文
"courseSubject": "",
# 商品课程学期:SPRING春 SUMMER暑 AUTUMN秋 WINTER寒
"courseTerm": "",
"courseYear": 2021,
# "商品课程授课方式:FACE面授 LIVE直播
"courseTeachWay": "",
"keyword": ""
}
res = goods_pageList_post(body=body, header=jyy_header)
pageNum = 1
pageSize = 100
storeId = ""
courseType = ""
courseSubType = ""
courseClsType = ""
courseGrade = "三年级"
courseSubject = ""
courseTerm = ""
courseYear = 2021
courseTeachWay = ""
keyword = ""
res = GoodsOperation.get_goods_page_list(pageNum=pageNum, pageSize=pageSize, keyword=keyword, storeIds=storeId, courseYear=courseYear,
courseTerm=courseTerm, courseType=courseType, courseSubType=courseSubType, courseClsType=courseClsType,
courseGrade=courseGrade, courseSubject=courseSubject, courseTeachWay=courseTeachWay)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试商品通用分页查询")
def test_general_page_goods_list_search(self):
body = {
"pageNum": 1,
"pageSize": 100,
"status": 1,
"del": 0,
# 校区id列表
"storeIds": [],
# 类目code列表
"categories": [],
"courseYear": 2021,
"courseTerm": "",
# 课程商品类型
"courseType": "",
# 课程课型
"courseSubType": "",
# 课程班型:JI_SI极思 V1_1一对一
"courseClsType": "",
"courseTeachWay": "",
"keyword": ""
}
res = goods_generalPageList_post(body=body, header=jyy_header)
pageNum = 1
pageSize = 100
status = 1
is_del = 0
storeIds = []
categories = []
courseYear = 2021
courseTerm = ""
courseType = ""
courseSubType = ""
courseClsType = ""
courseTeachWay = ""
keyword = ""
goodsIds = []
res = GoodsOperation.get_goods_general_page_list(pageNum=pageNum, pageSize=pageSize, keyword=keyword, status=status, is_del=is_del,
storeIds=storeIds, categories=categories, courseYear=courseYear, courseTerm=courseTerm,
courseType=courseType, courseSubType=courseSubType, courseClsType=courseClsType,
courseTeachWay=courseTeachWay, goodsIds=goodsIds)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试商品管理列表查询")
def test_goods_manage_list_search(self):
body = {
"pageNum": 1,
"pageSize": 1000,
"status": 1,
"del": 0,
# 校区id列表
"storeIds": [],
# 类目code列表
"categories": [],
"courseYear": 2021,
"courseTerm": "",
"courseType": "",
"courseSubType": "",
# 课程班型:JI_SI极思 V1_1一对一
"courseClsType": "",
# 课程授课形式
"courseTeachWay": "",
"keyword": ""
}
res = goods_manage_pageList_post(body=body, header=jyy_header)
pageNum = 1
pageSize = 1000
status = 1
is_del = 0
storeIds = []
categories = []
courseYear = 2021
courseTerm = ""
courseType = ""
courseSubType = ""
courseClsType = ""
courseTeachWay = ""
keyword = ""
res = GoodsOperation.get_goods_manage_list(pageNum=pageNum, pageSize=pageSize, keyword=keyword, status=status, is_del=is_del,
storeIds=storeIds, categories=categories, courseYear=courseYear, courseTerm=courseTerm,
courseType=courseType, courseSubType=courseSubType, courseClsType=courseClsType,
courseTeachWay=courseTeachWay)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试新增商品")
def test_add_goods(self):
body = {
"name": "商品名称",
# 商品售价
"price": 1000,
# 商品原价
"originalPrice": 20000,
# 商家id(校区id)
"storeId": 777,
# 商品来源id(班级id)
"sourceId": 2222,
# 商品课程类型:CLASS班课 CONTENT内容 BOUTIQUE精品
"courseType": "CLASS",
# 商品课程班型:NORMAL常规 V1_1一对一
"courseSubType": "NORMAL",
# 商品课程班型:JI_SI极思 V1_1一对一
"courseClsType": "JI_SI",
"courseGrades": ["三年级"],
# 商品课程学科:MATH数学 ENGLISH英语 CHINESE语文
"courseSubjects": ["MATH"],
# 商品课程学期:SPRING春 SUMMER暑 AUTUMN秋 WINTER寒
"courseTerm": "AUTUMN",
"courseYear": 2021,
# 商品课程授课方式:FACE面授 LIVE直播
"courseTeachWay": "FACE",
"coursePeriod": 10,
"images": ["url1", "url2"],
"videos": ["url1", "url2"],
"detailImage": "ImageUrl",
"poster": "ImageUrl",
"desc": "商品描述",
"shareDesc": "商品分享描述",
"saleBeginTime": "2021-01-01",
"saleEndTime": "2022-01-01",
"payBeginTime": "2021-02-01",
"payEndTime": "2021-12-01",
"channels": ["App"]
}
res = goods_manage_create_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
@pytest.mark.parametrize("add_goods_data", goods_data.get_add_goods_data_list())
def test_add_goods(self, add_goods_data):
go = GoodsOperation(**add_goods_data)
# 新增商品
add_res = go.add_current_goods()
public_asserts.public_assert(add_res)
# 编辑商品
edit_res = go.edit_current_goods()
public_asserts.public_assert(edit_res)
# 查询商品详情
detail_res = go.get_current_goods_detail()
public_asserts.public_assert(detail_res)
# 下架商品
down_res = go.up_and_down_current_goods(sale=False)
public_asserts.public_assert(down_res)
# 上架商品
up_res = go.up_and_down_current_goods(sale=True)
public_asserts.public_assert(up_res)
# 删除商品
delete_res = go.delete_current_goods()
public_asserts.public_assert(delete_res)
@allure.story("测试编辑商品")
def test_edit_goods(self):
goods_id = 1
body = {
"id": goods_id,
"name": "商品名称",
"price": 999,
"originalPrice": 10000,
"saleBeginTime": "2021-01-01",
"saleEndTime": "2022-01-01",
"payBeginTime": "2021-02-01",
"payEndTime": "2021-12-01",
"channels": ["App"],
"images": ["imageUrl1", "imageUrl2"],
"detailImage": "imageUrl",
"videos": ["imageUrl1", "imageUrl2"],
"poster": "imageUrl",
"desc": "商品描述",
"shareDesc": "分享描述"
}
res = goods_manage_update_put(body=body, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试删除商品")
def test_delete_goods(self):
goods_ids = "1,2,3,4"
res = goods_manage_delete_delete(params={"ids": goods_ids}, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试上下架商品")
def test_up_and_down_goods(self):
body = {
"ids": [],
# false下架 true上架
"sale": True,
"saleBeginTime": "2021-01-01",
"saleEndTime": "2022-01-01"
}
res = goods_manage_sale_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试查询商品详情")
def test_goods_detail(self):
goods_id = 1
res = goods_manage_detail_get(params={"id": goods_id}, header=jyy_header)
public_asserts.public_assert(res)
import allure
import pytest
from script.base_api.api_operation_web.package import package_list_post
from script.base_api.api_operation_web.package import package_save_post
from script.base_api.api_operation_web.package import package_status_update_post
from script.base_api.api_operation_web.package import package_delete_post
from script.base_api.api_operation_web.package import package_detail_get
from script.base_api_data.api_operation_web.package_operaion import PackageOperation
from script.ji_yun_ying_pc.mall.store_shopping_mall.data_cofig import package_data
from script import public_asserts
from script.default_header import jyy_header
@allure.epic("测试门店商城套餐")
......@@ -15,92 +11,38 @@ class TestCategory:
@allure.story("测试套餐列表查询")
def test_package_list_search(self):
name = ""
schoolAreaIds = []
body = {
"name": "",
"schoolAreaIds": schoolAreaIds,
# 类目code集合
"goodsCategoryCode": "",
"pageNum": 1,
"pageSize": 10
}
res = package_list_post(body=body, header=jyy_header)
goodsCategoryCode = ""
pageNum = 1
pageSize = 10
res = PackageOperation.get_package_list(name=name, schoolAreaIds=schoolAreaIds, goodsCategoryCode=goodsCategoryCode, pageNum=pageNum, pageSize=pageSize)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试新增套餐")
def test_add_package(self):
body = {
"packageName": "套餐名称",
"image": "imageUrl",
"courseIdList": [],
"priceList": [],
# 上架渠道
"saleChannel": "",
"saleBeginTime": "2021-06-01 00:00:00",
"saleEndTime": "2021-12-01 00:00:00",
"payBeginTime": "2021-06-02 00:00:00",
"payEndTime": "2021-11-01 00:00:00",
# 分享海报图片
"posterImg": "imageUrl",
# 类目code列表
"goodsCategoryCodeList": [],
# 分享文案
"subtitle": "分享文案"
}
res = package_save_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
assert data, f"响应的data不为空{data}"
@allure.story("测试编辑套餐")
def test_edit_package(self):
package_id = 1
body = {
"id": package_id,
"packageName": "套餐名称",
"image": "imageUrl",
"courseIdList": [],
"priceList": [],
# 上架渠道
"saleChannel": "",
"saleBeginTime": "2021-06-01 00:00:00",
"saleEndTime": "2021-12-01 00:00:00",
"payBeginTime": "2021-06-02 00:00:00",
"payEndTime": "2021-11-01 00:00:00",
# 分享海报图片
"posterImg": "imageUrl",
# 类目code列表
"goodsCategoryCodeList": [],
# 分享文案
"subtitle": "分享文案"
}
res = package_save_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
data = res.get("data")
@pytest.mark.parametrize("add_package_data", package_data.get_add_package_data_list())
def test_add_package(self, add_package_data):
po = PackageOperation(**add_package_data)
# 新增套餐
add_res = po.add_current_package()
public_asserts.public_assert(add_res)
data = add_res.get("data")
assert data, f"响应的data不为空{data}"
# 编辑套餐
edit_res = po.edit_current_package()
public_asserts.public_assert(edit_res)
# 套餐详情
detail_res = po.get_current_package_detail()
public_asserts.public_assert(detail_res)
# 下架套餐
down_res = po.up_and_down_current_package(2)
public_asserts.public_assert(down_res)
# 上架套餐
up_res = po.up_and_down_current_package(1)
public_asserts.public_assert(up_res)
# 删除套餐
delete_res = po.delete_current_package()
public_asserts.public_assert(delete_res)
@allure.story("测试删除套餐")
def test_delete_package(self):
package_ids = []
body = {"packageIds": package_ids}
res = package_delete_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试上下架套餐")
@pytest.mark.parametrize("status", [1, 2, 1])
def test_up_and_down_package(self, status):
package_id = 1
body = {
"packageId": package_id,
"status": status
}
res = package_status_update_post(body=body, header=jyy_header)
public_asserts.public_assert(res)
@allure.story("测试查询套餐详情")
def test_package_detail(self):
package_id = 1
res = package_detail_get(params={"packageId": package_id}, header=jyy_header)
public_asserts.public_assert(res)
......@@ -95,7 +95,7 @@ def get_current_method():
def create_file(step_list, is_assert=False):
current_path = os.path.join(os.getcwd(), "province_code.py")
current_path = os.path.join(os.getcwd(), "province_code_data.py")
server_names = list(set([x.get("server_name") for x in step_list]))
import_datas = []
for server_name in server_names:
......
......@@ -30,4 +30,4 @@ def get_method(url, method):
if __name__ == '__main__':
get_method("/api-jksxb-mini/coupon/matchGoods", "get")
get_method("/service-education/education/courses/query", "post")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment