20 Commits

Author SHA1 Message Date
方顺健
25e4e439da delete api 2024-11-04 09:06:02 +00:00
方顺健
9358b857b5 signature.json 2024-10-15 03:23:44 +00:00
方顺健
1436f31c71 basic.json 2024-10-15 03:22:45 +00:00
方顺健
80bf36e445 Update .gitlab-ci.yml 2024-10-14 07:19:47 +00:00
方顺健
218c3fab8e Update .gitlab-ci.yml 2024-10-14 07:16:45 +00:00
方顺健
047216a138 Update .gitlab-ci.yml file 2024-10-14 07:09:55 +00:00
方顺健
6a3c80eebd test pages 2024-10-14 07:01:22 +00:00
方顺健
e054f26f60 test 2024-09-29 08:37:17 +00:00
方顺健
bea33b67e0 test 2024-09-29 06:10:24 +00:00
方顺健
1d23290da4 add basic.json 2024-09-26 08:09:59 +00:00
方顺健
347b5495f3 Add new file 2024-09-26 08:09:28 +00:00
方顺健
581557b4ff Upload New File 2024-09-26 07:22:30 +00:00
方顺健
3a2c272e44 Update README.md 2024-09-26 07:21:11 +00:00
方顺健
b5bd091d43 Update README.md 2024-09-26 07:13:46 +00:00
方顺健
bfff4c52ea Update README.md 2024-09-20 07:37:04 +00:00
方顺健
c3ce0b2cbd Merge branch 'main' into 'main'
modify value

See merge request appsketch-works/app-test!9
2024-09-19 06:24:48 +00:00
方顺健
e1ca74f932 modify value 2024-09-18 07:16:51 +00:00
牛翔
db09d256d1 Merge branch 'newbranch-api-test-3' into 'main'
commit from gitlab api user userToken

See merge request appsketch-works/app-test!8
2024-09-13 10:14:54 +00:00
方顺健
9b04bd1dcb doc: 修改帮助文档 2024-09-13 09:25:29 +00:00
方顺健
3d3c05628c commit from gitlab api user userToken 2024-09-13 08:59:19 +00:00
11 changed files with 170 additions and 38 deletions

16
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,16 @@
# 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,33 +1,72 @@
# app-test
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目录存放app相关内容每新增一个application在applications目录下创建application同名目录。
目录结构如下:
```
cd existing_repo
git remote add origin https://git.mesalab.cn/appsketch-works/app-test.git
git branch -M main
git push -uf origin main
└─applications
├─tiktok
│ app.json // 记录application属性及特征
│ README.md // 帮助文档
│ icon.png // 尺寸: 512*512 px 大小不超过2MB
├─wechat
│ app.json
│ README.md
│ icon.png
```
public static void main
===abc
test
exit
app.json 内容模版如下
```
{
"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
},
"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

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

View File

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

View File

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

View File

@@ -0,0 +1,17 @@
{
"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,9 +1,4 @@
{
"name":"wechat",
"longName":"wechat",
"properties":{
"category":"bussines"
},
"surrogates": [
{
"name": "405_招商银行_fqdn_20240809",

View File

@@ -0,0 +1,17 @@
{
"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
}
}

Binary file not shown.

23
public/index.html Normal file
View File

@@ -0,0 +1,23 @@
<!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>

25
public/style.css Normal file
View File

@@ -0,0 +1,25 @@
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;
}