当前位置:首页>java>编程与数学||C++编程与七年级下册数学融合学习纲要

编程与数学||C++编程与七年级下册数学融合学习纲要

  • 2026-01-31 10:07:03
编程与数学||C++编程与七年级下册数学融合学习纲要

大家好,我是老刘,数学学科作为一门基础学科,新课标要求注重活动化、游戏化、生活化的学习设计;以前的【编程与数学】序列,我们充分利用图形化编程的可视化特点,将数学融合起来,作为一种创新的学习方式,可以使得数学学科的教学更加生动有趣,形象直观;

今天老刘分享C++编程与数学融合学习课程纲要,探索如何将数学知识与C++编程紧密结合?目标是先理解数学概念,再编程实现,通过完整项目整合知识点,鼓励学生结对编程,培养团队协作能力。

一、课程整体设计思路

本课程以人教版七年级下册数学知识为主线,通过C++编程实现数学概念的验证、应用和拓展,培养学生的计算思维、逻辑推理能力和问题解决能力。课程采用"数学概念→编程实现→实际应用"的三步教学模式。

二、各单元详细知识点对应表

第一单元:相交线与平行线(3课时)

数学知识点

  1. 邻补角、对顶角的概念和性质

  2. 垂线的定义和性质

  3. 平行线的判定和性质

  4. 平行线的距离概念

  5. 平移的概念和性质

C++知识点

  • 基本数据类型:int, double, char

  • 算术运算符和表达式

  • 条件语句:if, else if, else

  • 逻辑运算符:&&, ||, !

编程实践
// 计算角度并判断直线关系#include<iostream>using namespace std;intmain(){    double angle1, angle2;    cout << "请输入两个角度(0-180度之间):";    cin >> angle1 >> angle2;    // 判断是否为邻补角(和为180度)    if(angle1 + angle2 == 180) {        cout << "这两个角是邻补角" << endl;    }    // 判断是否为对顶角(相等)    if(angle1 == angle2) {        cout << "这两个角可能是对顶角" << endl;    }    // 判断两条直线的位置关系    cout << "\n请输入两条直线的斜率k1和k2:";    double k1, k2;    cin >> k1 >> k2;    if(k1 == k2) {        cout << "两条直线平行或重合" << endl;        // 判断是否重合需要截距,这里简化    } else if(k1 * k2 == -1) {        cout << "两条直线垂直" << endl;    } else {        cout << "两条直线相交但不垂直" << endl;    }    return 0;}

课后练习1

  1. 编写程序,输入三个角度,判断它们能否构成三角形的三个内角

  2. 编写程序,计算平行线间的距离(已知一条直线上两点和另一条直线的方程)

第二单元:实数(3课时)

数学知识点

  1. 算术平方根、平方根的概念

  2. 立方根的概念

  3. 实数的概念和分类

  4. 实数的运算性质

  5. 实数与数轴的关系

C++知识点

  • 数学函数库:sqrt(), pow(), fabs()

  • 循环结构:for循环

  • 格式化输出

  • 常量定义

编程实践

// 实数计算器#include<iostream>#include<cmath>#include<iomanip>using namespace std;intmain(){    // 1. 计算平方根    cout << "=== 平方根计算 ===" << endl;    for(int i = 1; i <= 10; i++) {        double sqrt_val = sqrt(i);        cout << "√" << i << " = " << sqrt_val;        // 判断是否为无理数(即小数部分不为0)        if(sqrt_val != int(sqrt_val)) {            cout << " (无理数)";        }        cout << endl;    }    // 2. 计算立方根    cout << "\n=== 立方根计算 ===" << endl;    cout << "请输入一个数:";    double num;    cin >> num;    double cube_root;    if(num >= 0) {        cube_root = pow(num, 1.0/3.0);    } else {        cube_root = -pow(-num, 1.0/3.0);    }    cout << num << "的立方根是:" << cube_root << endl;    // 3. 实数运算    cout << "\n=== 实数运算 ===" << endl;    double a, b;    cout << "请输入两个实数:";    cin >> a >> b;    cout << fixed << setprecision(3);    cout << "a + b = " << a + b << endl;    cout << "a - b = " << a - b << endl;    cout << "a × b = " << a * b << endl;    if(b != 0) {        cout << "a ÷ b = " << a / b << endl;    } else {        cout << "除数不能为0" << endl;    }    cout << "|a| = " << fabs(a) << ", |b| = " << fabs(b) << endl;    // 4. 比较大小    cout << "\n=== 实数比较 ===" << endl;    if(a > b) {        cout << a << " > " << b << endl;    } else if(a < b) {        cout << a << " < " << b << endl;    } else {        cout << a << " = " << b << endl;    }    return 0;}

课后练习2

  1. 编写程序,输入一个正整数n,输出1到n之间所有整数的平方根表

  2. 编写程序,判断一个数是有理数还是无理数(近似判断)

第三单元:平面直角坐标系(4课时)

数学知识点

  1. 平面直角坐标系的概念

  2. 点的坐标表示

  3. 两点间距离公式

  4. 线段中点坐标公式

  5. 坐标方法的简单应用

C++知识点

  • 结构体的定义和使用

  • 函数的定义和调用

  • 数学函数库

  • 数组的应用

编程实践

// 坐标系相关计算#include<iostream>#include<cmath>#include<iomanip>using namespace std;// 定义点结构体struct Point {    double x;    double y;};// 函数声明doubledistanceBetween(Point p1, Point p2);Point midpoint(Point p1, Point p2);intquadrant(Point p);voidprintPoint(Point p);intmain(){    Point A, B;    // 输入点坐标    cout << "请输入点A的坐标(x y):";    cin >> A.x >> A.y;    cout << "请输入点B的坐标(x y):";    cin >> B.x >> B.y;    cout << fixed << setprecision(2);    // 输出点坐标    cout << "\n点A:";    printPoint(A);    cout << ",位于第" << quadrant(A) << "象限" << endl;    cout << "点B:";    printPoint(B);    cout << ",位于第" << quadrant(B) << "象限" << endl;    // 计算距离    double dist = distanceBetween(A, B);    cout << "A、B两点距离:" << dist << endl;    // 计算中点    Point M = midpoint(A, B);    cout << "线段AB的中点:";    printPoint(M);    cout << endl;    // 判断三角形(如果有点C)    Point C;    cout << "\n请输入点C的坐标(x y):";    cin >> C.x >> C.y;    // 计算三角形边长    double a = distanceBetween(B, C); // 边a对应顶点A    double b = distanceBetween(A, C); // 边b对应顶点B    double c = distanceBetween(A, B); // 边c对应顶点C    cout << "三角形边长:a=" << a << ", b=" << b << ", c=" << c << endl;    // 判断三角形类型    if(a + b > c && a + c > b && b + c > a) {        if(a == b && b == c) {            cout << "等边三角形" << endl;        } else if(a == b || a == c || b == c) {            cout << "等腰三角形" << endl;        } else {            cout << "不等边三角形" << endl;        }    } else {        cout << "三点不构成三角形" << endl;    }    return 0;}// 函数定义doubledistanceBetween(Point p1, Point p2){    return sqrt(pow(p1.x - p2.x, 2) + pow(p1.y - p2.y, 2));}Point midpoint(Point p1, Point p2){    Point m;    m.x = (p1.x + p2.x) / 2;    m.y = (p1.y + p2.y) / 2;    return m;}intquadrant(Point p){    if(p.x > 0 && p.y > 0return 1;    if(p.x < 0 && p.y > 0return 2;    if(p.x < 0 && p.y < 0return 3;    if(p.x > 0 && p.y < 0return 4;    return 0// 坐标轴上}voidprintPoint(Point p){    cout << "(" << p.x << ", " << p.y << ")";}

课后练习3

  1. 编写程序,输入三个点坐标,判断它们是否在同一条直线上

  2. 编写程序,计算点到直线的距离(已知直线方程和点坐标)

第四单元:二元一次方程组(4课时)

数学知识点

  1. 二元一次方程的概念

  2. 二元一次方程组的解法(代入法、加减法)

  3. 二元一次方程组的应用

  4. 三元一次方程组的概念

C++知识点

  • 函数的重载

  • 参数的传递

  • 解方程算法实现

  • 条件语句的嵌套

编程实践

// 二元一次方程组求解器#include<iostream>#include<cmath>#include<iomanip>using namespace std;// 函数声明:使用代入法voidsubstitutionMethod(double a1, double b1, double c1,                        double a2, double b2, double c2);// 函数声明:使用加减消元法voideliminationMethod(double a1, double b1, double c1,                       double a2, double b2, double c2);intmain(){    double a1, b1, c1, a2, b2, c2;    cout << "=== 二元一次方程组求解器 ===" << endl;    cout << "方程组形式:a1x + b1y = c1" << endl;    cout << "            a2x + b2y = c2" << endl;    cout << "\n请输入系数:" << endl;    cout << "a1 b1 c1: ";    cin >> a1 >> b1 >> c1;    cout << "a2 b2 c2: ";    cin >> a2 >> b2 >> c2;    cout << fixed << setprecision(3);    // 判断方程组类型    double D = a1 * b2 - a2 * b1;  // 行列式    if(fabs(D) < 1e-6) {  // D接近0        // 无解或无穷多解        if(fabs(a1 * c2 - a2 * c1) < 1e-6) {            cout << "方程组有无穷多解" << endl;        } else {            cout << "方程组无解" << endl;        }    } else {        // 有唯一解        cout << "\n方程组有唯一解:" << endl;        // 使用两种方法求解        cout << "\n方法1:代入法" << endl;        substitutionMethod(a1, b1, c1, a2, b2, c2);        cout << "\n方法2:加减消元法" << endl;        eliminationMethod(a1, b1, c1, a2, b2, c2);    }    // 应用示例:鸡兔同笼问题    cout << "\n=== 应用示例:鸡兔同笼 ===" << endl;    cout << "已知总头数h,总脚数f,求鸡和兔各多少只?" << endl;    int h, f;    cout << "输入总头数h:";    cin >> h;    cout << "输入总脚数f:";    cin >> f;    // 鸡兔同笼:设鸡x只,兔y只    // x + y = h    // 2x + 4y = f    double D2 = 1 * 4 - 2 * 1;  // 行列式    if(D2 != 0) {        double x = (h * 4 - f * 1) / D2;        double y = (f * 1 - h * 2) / D2;        if(x >= 0 && y >= 0 && x == int(x) && y == int(y)) {            cout << "鸡有" << int(x) << "只,兔有" << int(y) << "只" << endl;        } else {            cout << "无合理整数解" << endl;        }    }    return 0;}// 函数定义:代入法voidsubstitutionMethod(double a1, double b1, double c1,                        double a2, double b2, double c2) {    if(b1 != 0) {        // 从第一个方程解出y        // y = (c1 - a1x)/b1        // 代入第二个方程        // a2x + b2*(c1 - a1x)/b1 = c2        // 整理得:x = (b1*c2 - b2*c1) / (a2*b1 - a1*b2)        double x = (b1 * c2 - b2 * c1) / (a2 * b1 - a1 * b2);        double y = (c1 - a1 * x) / b1;        cout << "x = " << x << ", y = " << y << endl;    } else if(a1 != 0) {        // 从第一个方程解出x        double x = c1 / a1;        double y = (c2 - a2 * x) / b2;        cout << "x = " << x << ", y = " << y << endl;    }}// 函数定义:加减消元法voideliminationMethod(double a1, double b1, double c1,                       double a2, double b2, double c2) {    // 消去y:第一个方程乘以b2,第二个方程乘以b1    // a1*b2*x + b1*b2*y = c1*b2    // a2*b1*x + b1*b2*y = c2*b1    // 相减得:(a1*b2 - a2*b1)x = c1*b2 - c2*b1    double D = a1 * b2 - a2 * b1;    double Dx = c1 * b2 - c2 * b1;    double Dy = a1 * c2 - a2 * c1;    double x = Dx / D;    double y = Dy / D;    cout << "x = " << x << ", y = " << y << endl;}

课后练习4

  1. 编写程序,解三元一次方程组

  2. 编写程序,解决"购买文具"问题:已知铅笔、钢笔、笔记本的单价,购买若干后总价已知,求各买多少

第五单元:不等式与不等式组(3课时)

数学知识点

  1. 不等式及其解集

  2. 不等式的性质

  3. 一元一次不等式

  4. 一元一次不等式组

  5. 不等式(组)的应用

C++知识点

  • 条件语句的复杂应用

  • 循环与条件的结合

  • 区间的表示和处理

  • 函数返回多个值

编程实践

// 不等式求解器#include <iostream>#include <vector>#include <algorithm>using namespace std;// 解一元一次不等式 ax + b > 0voidsolveInequality(double a, double b, char op) {    cout << "解不等式:";    if(a != 1 && a != -1) {        cout << a;    } else if(a == -1) {        cout << "-";    }    cout << "x";    if(b > 0) {        cout << " + " << b;    } else if(b < 0) {        cout << " - " << -b;    }    cout << " " << op << " 0" << endl;    if(a == 0) {        // 0x + b > 0 => b > 0        if((op == '>' && b > 0) || (op == '>=' && b >= 0) ||           (op == '<' && b < 0) || (op == '<=' && b <= 0)) {            cout << "解集为全体实数" << endl;        } else {            cout << "无解" << endl;        }        return;    }    // 计算临界点    double critical = -b / a;    cout << "临界点:x = " << critical << endl;    cout << "解集:";    if(a > 0) {        if(op == '>') {            cout << "x > " << critical;        } else if(op == '>=') {            cout << "x >= " << critical;        } else if(op == '<') {            cout << "x < " << critical;        } else if(op == '<=') {            cout << "x <= " << critical;        }    } else { // a < 0        if(op == '>') {            cout << "x < " << critical;        } else if(op == '>=') {            cout << "x <= " << critical;        } else if(op == '<') {            cout << "x > " << critical;        } else if(op == '<=') {            cout << "x >= " << critical;        }    }    cout << endl;}// 解不等式组voidsolveInequalitySystem() {    int n;    cout << "\n=== 不等式组求解 ===" << endl;    cout << "请输入不等式个数:";    cin >> n;    vector<double> lowerBounds, upperBounds;    bool hasSolution = true;    for(int i = 0; i < n; i++) {        double a, b;        char op;        cout << "输入第" << i+1 << "个不等式(格式:a b op,如 2 -3 >): ";        cin >> a >> b >> op;        if(a == 0) {            // 常数不等式            if((op == '>' && b <= 0) || (op == '>=' && b < 0) ||               (op == '<' && b >= 0) || (op == '<=' && b > 0)) {                hasSolution = false;            }            continue;        }        double critical = -b / a;        if(a > 0) {            if(op == '>' || op == '>=') {                lowerBounds.push_back(critical);            } else {                upperBounds.push_back(critical);            }        } else {            if(op == '>' || op == '>=') {                upperBounds.push_back(critical);            } else {                lowerBounds.push_back(critical);            }        }    }    if(!hasSolution) {        cout << "不等式组无解" << endl;        return;    }    // 找出下界的最大值和上界的最小值    double maxLower = -1e9;    if(!lowerBounds.empty()) {        maxLower = *max_element(lowerBounds.begin(), lowerBounds.end());    }    double minUpper = 1e9;    if(!upperBounds.empty()) {        minUpper = *min_element(upperBounds.begin(), upperBounds.end());    }    cout << "下界最大值:" << maxLower << endl;    cout << "上界最小值:" << minUpper << endl;    if(maxLower <= minUpper) {        cout << "解集:";        if(maxLower != -1e9) {            cout << "x >= " << maxLower;        }        if(minUpper != 1e9) {            if(maxLower != -1e9) cout << " 且 ";            cout << "x <= " << minUpper;        }        if(maxLower == -1e9 && minUpper == 1e9) {            cout << "全体实数";        }        cout << endl;    } else {        cout << "不等式组无解" << endl;    }}intmain() {    cout << "=== 不等式求解器 ===" << endl;    // 解单个不等式    double a, b;    char op;    cout << "输入不等式系数(格式:a b op,如 2 -3 >): ";    cin >> a >> b >> op;    solveInequality(a, b, op);    // 解不等式组    solveInequalitySystem();    // 应用:分配问题    cout << "\n=== 应用:资源分配 ===" << endl;    cout << "问题:某公司有资金100万元,计划购买A、B两种设备。" << endl;    cout << "A设备每台10万元,B设备每台15万元。" << endl;    cout << "要求购买A设备不少于3台,B设备不少于2台。" << endl;    cout << "且A设备数量不超过B设备的2倍。" << endl;    cout << "求购买方案。" << endl;    // 设购买A设备x台,B设备y台    // 10x + 15y <= 100    // x >= 3    // y >= 2    // x <= 2y    cout << "\n可能的购买方案:" << endl;    int count = 0;    for(int x = 3; x <= 10; x++) {  // x最大为10(100/10)        for(int y = 2; y <= 6; y++) {  // y最大为6(100/15取整)            if(10*x + 15*y <= 100 && x <= 2*y) {                cout << "方案" << ++count << ": A=" << x << "台, B=" << y << "台";                cout << ",总价" << 10*x + 15*y << "万元" << endl;            }        }    }    if(count == 0) {        cout << "无可行方案" << endl;    }    return 0;}

课后练习5

  1. 编写程序,解含绝对值的不等式,如 |x-3| < 5

  2. 编写程序,解决"购买门票"问题:成人票和儿童票价格不同,总人数和总金额有限制,求可能的购票方案

第六单元:数据的收集、整理与描述(3课时)

数学知识点

  1. 全面调查与抽样调查

  2. 直方图的绘制与分析

  3. 频数分布表

  4. 数据的集中趋势:平均数、中位数、众数

  5. 数据的离散程度:极差、方差、标准差

C++知识点

  • 数组的深入应用

  • 排序算法

  • 统计计算

  • 数据可视化(简单字符图形)

编程实践

// 数据分析工具#include<iostream>#include<iomanip>#include<algorithm>#include<cmath>#include<vector>#include<map>using namespace std;// 函数声明voidinputData(vector<double>& data);doublecalculateMean(const vector<double>& data);doublecalculateMedian(vector<double> data);doublecalculateMode(const vector<double>& data);doublecalculateVariance(const vector<double>& data);voidcreateHistogram(const vector<double>& data, int bins);voidfrequencyTable(const vector<double>& data);intmain(){    vector<double> data;    cout << "=== 数据分析工具 ===" << endl;    inputData(data);    if(data.empty()) {        cout << "没有输入数据" << endl;        return 0;    }    // 排序数据    sort(data.begin(), data.end());    cout << fixed << setprecision(3);    cout << "\n=== 数据分析结果 ===" << endl;    cout << "数据个数: " << data.size() << endl;    cout << "数据范围: [" << data[0] << ", " << data.back() << "]" << endl;    cout << "极差:     " << data.back() - data[0] << endl;    cout << "平均数:   " << calculateMean(data) << endl;    cout << "中位数:   " << calculateMedian(data) << endl;    cout << "众数:     " << calculateMode(data) << endl;    cout << "方差:     " << calculateVariance(data) << endl;    cout << "标准差:   " << sqrt(calculateVariance(data)) << endl;    // 频数分布表    cout << "\n=== 频数分布表 ===" << endl;    frequencyTable(data);    // 直方图    cout << "\n=== 直方图 ===" << endl;    int bins;    cout << "请输入直方图组数:";    cin >> bins;    createHistogram(data, bins);    return 0;}voidinputData(vector<double>& data){    int n;    cout << "请输入数据个数:";    cin >> n;    cout << "请输入" << n << "个数据(用空格隔开):" << endl;    data.resize(n);    for(int i = 0; i < n; i++) {        cin >> data[i];    }}doublecalculateMean(const vector<double>& data){    double sum = 0;    for(double val : data) {        sum += val;    }    return sum / data.size();}doublecalculateMedian(vector<double> data){    sort(data.begin(), data.end());    int n = data.size();    if(n % 2 == 1) {        return data[n/2];    } else {        return (data[n/2 - 1] + data[n/2]) / 2.0;    }}doublecalculateMode(const vector<double>& data){    map<doubleint> freq;    for(double val : data) {        freq[val]++;    }    double mode = data[0];    int maxFreq = 0;    for(auto& pair : freq) {        if(pair.second > maxFreq) {            maxFreq = pair.second;            mode = pair.first;        }    }    return mode;}doublecalculateVariance(const vector<double>& data){    double mean = calculateMean(data);    double sumSq = 0;    for(double val : data) {        sumSq += pow(val - mean, 2);    }    return sumSq / data.size();}voidcreateHistogram(const vector<double>& data, int bins){    if(data.empty()) return;    double minVal = data[0];    double maxVal = data.back();    double range = maxVal - minVal;    double binWidth = range / bins;    vector<intfreq(bins, 0);    // 统计频数    for(double val : data) {        int binIndex = min(int((val - minVal) / binWidth), bins - 1);        freq[binIndex]++;    }    // 找到最大频数用于缩放    int maxFreq = *max_element(freq.begin(), freq.end());    int maxStars = 50;  // 最大星号数    // 打印直方图    for(int i = 0; i < bins; i++) {        double lower = minVal + i * binWidth;        double upper = lower + binWidth;        cout << "[" << setw(6) << lower << ", " << setw(6) << upper << "): ";        int stars = (maxFreq > 0) ? (freq[i] * maxStars / maxFreq) : 0;        for(int j = 0; j < stars; j++) {            cout << "*";        }        cout << " (" << freq[i] << ")" << endl;    }}voidfrequencyTable(const vector<double>& data){    if(data.empty()) return;    // 确定组数(使用Sturges公式)    int k = 1 + 3.322 * log10(data.size());    k = min(k, 10);  // 不超过10组    double minVal = data[0];    double maxVal = data.back();    double range = maxVal - minVal;    double binWidth = range / k;    vector<intfreq(k, 0);    // 统计频数    for(double val : data) {        int binIndex = min(int((val - minVal) / binWidth), k - 1);        freq[binIndex]++;    }    // 打印频数分布表    cout << "组号\t组距\t\t频数\t频率\t累计频率" << endl;    cout << "------------------------------------------------" << endl;    int cumulative = 0;    for(int i = 0; i < k; i++) {        double lower = minVal + i * binWidth;        double upper = lower + binWidth;        cumulative += freq[i];        double frequency = freq[i] * 100.0 / data.size();        double cumulativeFreq = cumulative * 100.0 / data.size();        cout << i+1 << "\t[" << fixed << setprecision(1) << lower              << ", " << upper << ")\t" << freq[i] << "\t"             << setprecision(1) << frequency << "%\t"             << setprecision(1) << cumulativeFreq << "%" << endl;    }}

课后练习6

  1. 编写程序,从文件读取学生成绩数据,进行统计分析

  2. 编写程序,模拟掷两个骰子1000次,统计点数和的出现频率

三、综合复习与期末项目

综合复习要点:

  1. 代数部分:实数运算、方程与不等式的解法、坐标几何

  2. 几何部分:相交线和平行线的性质、坐标系的应用

  3. 统计部分:数据收集与分析方法、统计量的计算

  4. C++编程核心:函数、结构体、数组、算法设计

期末项目:学生成绩管理系统增强版

项目要求

  1. 从文件读取学生信息(学号、姓名、多科成绩)

  2. 计算每个学生的总分、平均分和排名

  3. 按科目进行统计分析(平均分、标准差、分数段分布)

  4. 绘制各科成绩的直方图

  5. 查找功能:按学号、姓名或成绩范围查找

  6. 预测功能:根据历史成绩预测学生未来表现(简单线性回归)

四、资源准备:
  1. 软件:Code::Blocks / Dev-C++ / VS Code

  2. 教材:人教版六年级下册数学教材

  3. 参考资料:C++入门教程、数学与编程结合的案例集

  4. 在线资源:在线编程练习平台、数学可视化工具

开卷有益,原创不易,且行且努力。公众号每一篇文章都经过我们的精选和编写、用心去完成的,大家转载时请注明来源!

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-09 00:08:59 HTTP/2.0 GET : https://f.mffb.com.cn/a/465106.html
  2. 运行时间 : 0.237877s [ 吞吐率:4.20req/s ] 内存消耗:4,824.81kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=ff5923153050cadab6490ac3d0e67d07
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000902s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001553s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000720s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000686s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001339s ]
  6. SELECT * FROM `set` [ RunTime:0.000610s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001536s ]
  8. SELECT * FROM `article` WHERE `id` = 465106 LIMIT 1 [ RunTime:0.001275s ]
  9. UPDATE `article` SET `lasttime` = 1770566939 WHERE `id` = 465106 [ RunTime:0.013213s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 65 LIMIT 1 [ RunTime:0.000572s ]
  11. SELECT * FROM `article` WHERE `id` < 465106 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001123s ]
  12. SELECT * FROM `article` WHERE `id` > 465106 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.007624s ]
  13. SELECT * FROM `article` WHERE `id` < 465106 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.002012s ]
  14. SELECT * FROM `article` WHERE `id` < 465106 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.004891s ]
  15. SELECT * FROM `article` WHERE `id` < 465106 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.015555s ]
0.241761s