5 Commits

Author SHA1 Message Date
方顺健
045bf232b7 Merge branch 'newbranch-api-test' into 'newbranch-api-test-2'
# Conflicts:
#   README.md
2024-10-29 03:25:25 +00:00
方顺健
0ca6c3d051 Update README.md 2024-10-29 02:00:43 +00:00
方顺健
c09b264255 Update README.md 2024-10-29 01:47:42 +00:00
方顺健
0c48bd2a05 Update README.md 2024-10-29 01:47:09 +00:00
api-user
8fe991d655 commit from gitlab api 2024-09-13 08:45:15 +00:00
11 changed files with 38 additions and 170 deletions

View File

@@ -1,16 +0,0 @@
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
image: git.mesalab.cn:7443/nezha/nz-build-env:1.6
pages:
stage: deploy
script:
- echo "The site will be deployed to $CI_PAGES_URL"
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
tags:
- asw

101
README.md
View File

@@ -1,72 +1,33 @@
# 使用说明 # app-test
applications目录存放app相关内容每新增一个application在applications目录下创建application同名目录。
目录结构如下: gggg
tttt
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
## Add your files
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
``` ```
└─applications cd existing_repo
├─tiktok git remote add origin https://git.mesalab.cn/appsketch-works/app-test.git
│ app.json // 记录application属性及特征 git branch -M main
│ README.md // 帮助文档 git push -uf origin main
│ icon.png // 尺寸: 512*512 px 大小不超过2MB
├─wechat
│ app.json
│ README.md
│ icon.png
``` ```
app.json 内容模版如下
```
{ public static void main
"name":"陕西社会保险",
"longName":"陕西社会保险", ===abc
"developer":"陕西省社会保障局",
"website":"http://www.pansky.com.cn/", test
"packageName":{
"android":"cn.com.pansky.sxzgyl",
"ios":"cn.com.pansky.sxzgyl" exit
},
"properties":{
"category":"business-systems",
"subcategory":"general-business",
"content":"unknown",
"parentApp":"",
"risk":1
},
"surrogates": [
{
"name": "surrogate-1",
"description": "",
"signatures": [
{
"name": "signature-陕西社会保险-1",
"description": "",
"conditions": [
{
"attributeName": "common.server_fqdn",
"attributeType": "string",
"negate_option": false,
"description": "",
"items": [
{
"item": "$zcxc.shaanxi.gov.cn",
"description": "陕西省社会保障局"
},
{
"item": "$ylbx.shaanxi.gov.cn",
"description": "陕西省社会保障局"
},
{
"item": "$s.eqxiu.cn",
"description": "北京中网易企秀科技有限公司"
},
{
"item": "$v.eqxiu.com",
"description": "北京中网易企秀科技有限公司"
}
]
}
]
}
]
}
]
}
```

View File

@@ -0,0 +1 @@
file add from gitlab api

View File

@@ -0,0 +1 @@
{'key':'value'}

View File

@@ -1,2 +0,0 @@
abc
abcd

View File

@@ -1,17 +0,0 @@
{
"name":"陕西社会保险",
"longName":"陕西社会保险",
"developer":"陕西省社会保障局",
"website":"http://www.pansky.com.cn/",
"packageName":{
"android":"cn.com.pansky.sxzgyl",
"ios":"cn.com.pansky.sxzgyl"
},
"properties":{
"category":"business-systems",
"subcategory":"general-business",
"content":"unknown",
"parentApp":"",
"risk":1
}
}

View File

@@ -1,4 +1,9 @@
{ {
"name":"wechat",
"longName":"wechat",
"properties":{
"category":"bussines"
},
"surrogates": [ "surrogates": [
{ {
"name": "405_招商银行_fqdn_20240809", "name": "405_招商银行_fqdn_20240809",

View File

@@ -1,17 +0,0 @@
{
"name":"陕西社会保险",
"longName":"陕西社会保险",
"developer":"陕西省社会保障局",
"website":"http://www.pansky.com.cn/",
"packageName":{
"android":"cn.com.pansky.sxzgyl",
"ios":"cn.com.pansky.sxzgyl"
},
"properties":{
"category":"business-systems",
"subcategory":"general-business",
"content":"unknown",
"parentApp":"",
"risk":1
}
}

View File

@@ -1,23 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="GitLab Pages">
<title>Plain HTML site using GitLab Pages</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navbar">
<a href="https://pages.gitlab.io/plain-html/">Plain HTML Example</a>
<a href="https://gitlab.com/pages/plain-html/">Repository</a>
<a href="https://gitlab.com/pages/">Other Examples</a>
</div>
<h1>Hello World!</h1>
<p>
This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
</p>
</body>
</html>

View File

@@ -1,25 +0,0 @@
body {
font-family: sans-serif;
margin: auto;
max-width: 1280px;
}
.navbar {
background-color: #313236;
border-radius: 2px;
max-width: 800px;
}
.navbar a {
color: #aaa;
display: inline-block;
font-size: 15px;
padding: 10px;
text-decoration: none;
}
.navbar a:hover {
color: #ffffff;
}