随笔分类 - 软件工程日报
摘要:后端server: port: 7070spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/k3?serverTimezone=GMT%2b8 usernam
阅读全文
摘要:package com.example.spring2.service;import com.example.spring2.entity.User;import com.example.spring2.mapper.UserMapper;import org.springframework.bea
阅读全文
摘要:package com.example.spring2.mapper;import com.example.spring2.entity.User;import org.apache.ibatis.annotations.Insert;import org.apache.ibatis.annotat
阅读全文
摘要:package com.example.spring2.entity;import lombok.AllArgsConstructor;import lombok.Data;import lombok.NoArgsConstructor;@Data@AllArgsConstructor@NoArgs
阅读全文
摘要:package com.example.spring2.controller;import com.example.spring2.entity.User;import com.example.spring2.service.UserService;import org.springframewor
阅读全文
摘要://查看视频Future<List> fetchVideoList() async { Dio dio = Dio(); String url = "http://192.168.211.14:9090/user/video1"; try { Response response = await di
阅读全文
摘要:// 查看帖子Future<List> fetchColumnRecords() async { Dio dio = Dio(); String url = "http://192.168.211.14:9090/user/column_record"; try { Response respons
阅读全文
摘要:// 发帖功能Future<void> insertColumn( BuildContext context, String username, String text)async { Dio dio = Dio(); String insertUrl = "http://192.168.211.1
阅读全文
摘要://登录功能Future<void> login( BuildContext context, String username, String password)async { Dio dio = Dio(); String checkUrl = "http://192.168.211.14:909
阅读全文
摘要://注册功能Future<void> register( BuildContext context, String username, String password, String username2, String phoneNumber, String email)async { try {
阅读全文
摘要:import 'package:flutter/material.dart';Widget buildCustomDrawer({ required String accountEmail, required String accountName, required String currentAc
阅读全文
摘要:import 'package:flutter/material.dart';Widget buildCustomBottomNavigationBar({ required List<Tab> tabs, Color backgroundColor = Colors.black, double h
阅读全文
摘要:import 'package:flutter/material.dart';import 'package:chewie/chewie.dart';import 'package:video_player/video_player.dart';void main() { runApp(Materi
阅读全文
摘要:import 'package:flutter/cupertino.dart';import 'package:flutter/material.dart';import 'package:test1/page/video.dart';import '../component/container.d
阅读全文
摘要:import 'package:flutter/material.dart';import 'package:test1/page/picture.dart';import 'package:test1/page/record_column.dart';import 'package:test1/p
阅读全文
摘要:import 'package:flutter/material.dart';import '../Do/UserDao.dart';class RegisterPage extends StatelessWidget { RegisterPage({required Key key}) : sup
阅读全文
摘要:import 'package:flutter/material.dart';import 'package:dio/dio.dart';import '../Do/UserDao.dart';class ColumnRecordsApp extends StatelessWidget { @ove
阅读全文
摘要:import 'package:flutter/material.dart';import 'package:photo_view/photo_view.dart';void main() { runApp(MaterialApp( home: Picture1(), ));}class Pictu
阅读全文
摘要:import 'package:flutter/material.dart';import 'package:http/http.dart' as http;import 'dart:convert';class ChatDialog extends StatefulWidget { @overri
阅读全文
摘要:import 'dart:async';import 'package:dio/dio.dart';import 'package:flutter/material.dart';import 'package:test1/page/video.dart';// 导入获取用户信息的方法import '
阅读全文