diff --git a/.gitignore b/.gitignore index 8cffec586..ba2ea919d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -bin/GoSungro +bin/GoSungrow diff --git a/.goreleaser.yml b/.goreleaser.yml index e42064a9a..d74f8126e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,5 @@ ################################################################################ -project_name: GoSungro +project_name: GoSungrow ################################################################################ @@ -14,7 +14,7 @@ builds: - env: - CGO_ENABLED=0 - binary: GoSungro + binary: GoSungrow goos: - linux @@ -33,7 +33,7 @@ archives: - # ID of this archive. # Defaults to `default`. - #id: GoSungro-archive + #id: GoSungrow-archive # Builds reference which build instances should be archived in this archive. #builds: diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 000000000..1ae14af31 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 000000000..79ee123c2 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5f43b8c59..b2ab4dd18 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,35 +5,1236 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + - + - + @@ -137,26 +1338,6 @@ - - file://$PROJECT_DIR$/cmd/cmd_help.go - 67 - - - file://$PROJECT_DIR$/cmd/cmd_api_domain.go - 46 - - - file://$PROJECT_DIR$/cmd/cmd_api_domain.go - 71 - - - file://$PROJECT_DIR$/cmd/cmd_api_domain.go - 21 - file://$PROJECT_DIR$/cmd/cmd_api.go 50 @@ -197,19 +1378,9 @@ 39 - - file://$PROJECT_DIR$/iSolarCloud/api/web/token.go - 38 - - - file://$PROJECT_DIR$/iSolarCloud/api/web/token.go - 144 - file://$PROJECT_DIR$/iSolarCloud/sungro/AppService/struct.go - 624 + 625 @@ -302,16 +1473,41 @@ 376 + + file://$PROJECT_DIR$/cmd/cmd_api.go + 90 + + + file://$PROJECT_DIR$/cmd/struct.go + 141 + + + file://$PROJECT_DIR$/iSolarCloud/sungro/AppService/login/auth.go + 186 + + + file://$PROJECT_DIR$/iSolarCloud/api/web.go + 100 + + + file://$PROJECT_DIR$/cmd/struct.go + 153 + + + file://$PROJECT_DIR$/iSolarCloud/api/apiReflect/reflect.go + 502 + - - - - - - + diff --git a/Dockerfile b/Dockerfile index 9e74b0531..9f6600911 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,15 +31,15 @@ ENV SUNGRO_DIFF_CMD ${SUNGRO_DIFF_CMD} ARG TZ ENV TZ ${TZ} -COPY dist/GoSungro_linux_amd64/GoSungro /usr/local/bin/GoSungro +COPY dist/GoSungrow_linux_amd64/GoSungrow /usr/local/bin/GoSungrow COPY .ssh/ /root/.ssh/ -RUN chmod a+x /usr/local/bin/GoSungro && \ +RUN chmod a+x /usr/local/bin/GoSungrow && \ chmod 500 /root/.ssh && \ chmod 400 /root/.ssh/gosungro_rsa /root/.ssh/gosungro_rsa.pub && \ apk add --no-cache colordiff tzdata -# echo '00 07 * * * /usr/local/bin/GoSungro sync default' > /etc/crontabs/root +# echo '00 07 * * * /usr/local/bin/GoSungrow sync default' > /etc/crontabs/root -#ENTRYPOINT ["/usr/local/bin/GoSungro"] +#ENTRYPOINT ["/usr/local/bin/GoSungrow"] #CMD ["crond", "-f", "-l", "2", "-L", "/var/log/cronlogs"] -CMD ["/usr/local/bin/GoSungro", "cron", "run", "00", "07", ".", ".", ".", "sync", "default"] +CMD ["/usr/local/bin/GoSungrow", "cron", "run", "00", "07", ".", ".", ".", "sync", "default"] diff --git a/DockerfileRemote b/DockerfileRemote index 8f93f85a5..0b6895c6c 100644 --- a/DockerfileRemote +++ b/DockerfileRemote @@ -34,7 +34,7 @@ ENV TZ ${TZ} RUN wget -O /DockerfileRemote.sh --header "PRIVATE-TOKEN: ${GO_REPO_TOKEN}" https://mickmake.io/api/v4/projects/docker%2Fsungro//repository/files/Dockerfile.sh/raw?ref=master && \ /bin/sh /DockerfileRemote.sh -#ENTRYPOINT ["/usr/local/bin/GoSungro"] +#ENTRYPOINT ["/usr/local/bin/GoSungrow"] #CMD ["crond", "-f", "-l", "2", "-L", "/var/log/cronlogs"] -CMD ["/usr/local/bin/GoSungro", "cron", "run", "00", "07", ".", ".", ".", "sync", "default"] +CMD ["/usr/local/bin/GoSungrow", "cron", "run", "00", "07", ".", ".", ".", "sync", "default"] diff --git a/DockerfileRemote.sh b/DockerfileRemote.sh index afc02c48f..768876fab 100755 --- a/DockerfileRemote.sh +++ b/DockerfileRemote.sh @@ -2,8 +2,8 @@ mkdir -p /usr/local/bin -wget -O /usr/local/bin/GoSungro --header "PRIVATE-TOKEN: ${GO_REPO_TOKEN}" https://mickmake.io/api/v4/projects/docker%2Fsungro/repository/files/dist%2FGoSungro_linux_amd64%2FGoSungro/raw?ref=master -chmod a+x /usr/local/bin/GoSungro +wget -O /usr/local/bin/GoSungrow --header "PRIVATE-TOKEN: ${GO_REPO_TOKEN}" https://mickmake.io/api/v4/projects/docker%2Fsungro/repository/files/dist%2FGoSungrow_linux_amd64%2FGoSungrow/raw?ref=master +chmod a+x /usr/local/bin/GoSungrow mkdir -p /root/.ssh chmod 500 /root/.ssh @@ -13,7 +13,7 @@ wget -O /root/.ssh/gosungro_rsa.pub --header "PRIVATE-TOKEN: ${GO_REPO_TOKEN}" h chmod 400 /root/.ssh/gosungro_rsa /root/.ssh/gosungro_rsa.pub -echo '00 07 * * * /usr/local/bin/GoSungro sync default' > /etc/crontabs/root +echo '00 07 * * * /usr/local/bin/GoSungrow sync default' > /etc/crontabs/root apk add --no-cache colordiff tzdata diff --git a/README.md b/README.md index 8377c1d50..15f6ba20c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GoSungro - iSolarCloud API written in GoLang. +# GoSungrow - iSolarCloud API written in GoLang. ## What is it? @@ -9,9 +9,9 @@ Note: - [iSolarCloud](https://isolarcloud.com) has no interest in developing a public API. - Their "API" implementation is so broken with security and coding issues, I'm surprised it hasn't been exploited yet. -![alt text](https://github.com/MickMake/GoSungro/blob/master/docs/iSolarCloudLogin.png?raw=true) +![alt text](https://github.com/MickMake/GoSungrow/blob/master/docs/iSolarCloudLogin.png?raw=true) -![alt text](https://github.com/MickMake/GoSungro/blob/master/docs/iSolarCloud.png?raw=true) +![alt text](https://github.com/MickMake/GoSungrow/blob/master/docs/iSolarCloud.png?raw=true) ## What state is it in? @@ -26,8 +26,8 @@ It's tricky as their "API" changes regularly. ## What does it do? This GoLang package does several things: -1. Update a GitHub repo with SunGro PV data, (provide full revision history for any changes made to the SunGro PV). -2. Update a Google sheet with SunGro PV data. +1. Update a GitHub repo with SunGrow PV data, (provide full revision history for any changes made to the SunGrow PV). +2. Update a Google sheet with SunGrow PV data. 3. Provides ready access to all API calls via a simple get/put framework. To be added: @@ -38,36 +38,38 @@ To be added: ### Fetch PV data from the API. ``` -./bin/GoSungro api get findPsType '{"ps_id":"1129147"}' -./bin/GoSungro api get getPsDetailWithPsType '{"ps_id":"1129147"}' -./bin/GoSungro api get getPowerStatistics '{"ps_id":"1129147"}' -./bin/GoSungro api get getPowerDevicePointNames '{"device_type":"1"}' -./bin/GoSungro api get getPowerDevicePointNames '{"device_type":"2"}' -./bin/GoSungro api get getPowerDevicePointNames '{"device_type":"7"}' -./bin/GoSungro api get getPsList -./bin/GoSungro api get WebAppService.showPSView '{"ps_id":"1129147"}' +./bin/GoSungrow api get findPsType '{"ps_id":"1129147"}' +./bin/GoSungrow api get getPsDetailWithPsType '{"ps_id":"1129147"}' +./bin/GoSungrow api get getPowerStatistics '{"ps_id":"1129147"}' +./bin/GoSungrow api get getPowerDevicePointNames '{"device_type":"1"}' +./bin/GoSungrow api get getPowerDevicePointNames '{"device_type":"2"}' +./bin/GoSungrow api get getPowerDevicePointNames '{"device_type":"7"}' +./bin/GoSungrow api get getPsList +./bin/GoSungrow api get WebAppService.showPSView '{"ps_id":"1129147"}' +./bin/GoSungrow api get queryMutiPointDataList '{"ps_key":"1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_14_1_1,1129147_11_0_0","points":"p13150,p13126,p13142,p13143,p13019,p13141,p13121,p13003,p13149,p83106","minute_interval":"5","start_time_stamp":"20220215000000","end_time_stamp":"20220215235900", "ps_id":"1129147"}' +./bin/GoSungrow api get getHouseholdStoragePsReport '{"date_id":"2022","date_type":"4","ps_id":"1129147"}' ``` -### Record statistics data from SUNGRO to GitHub. (Will clone if not existing.) +### Record statistics data from iSolarCloud to GitHub. (Will clone if not existing.) - % GoSungro git sync 'Updating statistics' statistics + % GoSungrow git sync 'Updating statistics' statistics ### Record all changes made to GitHub. - % GoSungro git sync 'Update everything' + % GoSungrow git sync 'Update everything' ### Record changes with default commit message. - % GoSungro git sync default + % GoSungrow git sync default ### Record changes made every 30 minutes. - % GoSungro cron run ./30 . . . . git sync default + % GoSungrow cron run ./30 . . . . git sync default ### List files in repo, (identical to ls). ``` -% GoSungro git ls -l +% GoSungrow git ls -l - rw- r-- r-- admin-mickh admin-mickh 51B 10.Jan'22 13:31 README.md - rw- rw- r-- admin-mickh admin-mickh 15.60K 10.Jan'22 13:31 contact.json - rw- rw- r-- admin-mickh admin-mickh 496B 10.Jan'22 13:31 department.json @@ -82,55 +84,55 @@ To be added: ### Show changes made to a JSON file. - % GoSungro git diff devices.json + % GoSungrow git diff devices.json ### Other available Gitlab commands. Clone repo. - % GoSungro git clone + % GoSungrow git clone Pull repo. - % GoSungro git pull + % GoSungrow git pull Add files to repo. - % GoSungro git add . + % GoSungrow git add . Push repo. - % GoSungro git push + % GoSungrow git push Commit changes to repo. - % GoSungro git commit 'this is a commit message' + % GoSungrow git commit 'this is a commit message' ### Config file. Show current config. - % GoSungro config read + % GoSungrow config read Change diff command used in compares. - % GoSungro --diff-cmd='sdiff' config write + % GoSungrow --diff-cmd='sdiff' config write Change Git repo directory. - % GoSungro --git-dir=/some/other/directory config write + % GoSungrow --git-dir=/some/other/directory config write Change Git repo url. - % GoSungro --git-url=https://github.com/MickMake/iSolarCloudData config write + % GoSungrow --git-url=https://github.com/MickMake/iSolarCloudData config write -Change SUNGRO API token. +Change iSolarCloud API token. - % GoSungro --cf-token='this is a token string' config write + % GoSungrow --cf-token='this is a token string' config write ## Flags available for all commands: ``` - --config string GoSungro: config file. (default "$HOME/.GoSungro/config.json") - --debug GoSungro: Debug mode. + --config string GoSungrow: config file. (default "$HOME/.GoSungrow/config.json") + --debug GoSungrow: Debug mode. --diff-cmd string Git: Command for diffs. (default "tkdiff") --git-dir string Git: Local repo directory. --git-password string Git: Repo password. @@ -139,11 +141,11 @@ Change SUNGRO API token. --git-token string Git: Repo token string. --git-username string Git: Repo username. --google-sheet string Google: Sheet URL for updates. - --host string SUNGRO: Provider API URL. (default "https://augateway.isolarcloud.com") - -p, --password string SUNGRO: Extension password. - -q, --quiet SUNGRO: Silence all messages. - --timeout duration SUNGRO: API timeout. (default 30s) - -u, --user string SUNGRO: Extension username. + --host string iSolarCloud: Provider API URL. (default "https://augateway.isolarcloud.com") + -p, --password string iSolarCloud: Extension password. + -q, --quiet iSolarCloud: Silence all messages. + --timeout duration iSolarCloud: API timeout. (default 30s) + -u, --user string iSolarCloud: Extension username. ``` ## Using environment variables instad of flags. @@ -151,21 +153,21 @@ Change SUNGRO API token. +----------------+------------+---------------------+--------------------------------+-----------------------------------------------+ | FLAG | SHORT FLAG | ENVIRONMENT | DESCRIPTION | DEFAULT | +----------------+------------+---------------------+--------------------------------+-----------------------------------------------+ -| --user | -u | SUNGRO_USER | SUNGRO: API username. | | -| --password | -p | SUNGRO_PASSWORD | SUNGRO: API password. | | -| --host | | SUNGRO_HOST | SUNGRO: Provider API URL. | https://augateway.isolarcloud.com | -| --timeout | | SUNGRO_TIMEOUT | SUNGRO: API timeout. | 30s | -| --google-sheet | | SUNGRO_GOOGLE_SHEET | Google: Sheet URL for updates. | | -| --git-repo | | SUNGRO_GIT_REPO | Git: Repo url for updates. | | -| --git-dir | | SUNGRO_GIT_DIR | Git: Local repo directory. | | -| --git-username | | SUNGRO_GIT_USERNAME | Git: Repo username. | | -| --git-password | | SUNGRO_GIT_PASSWORD | Git: Repo password. | | -| --git-sshkey | | SUNGRO_GIT_SSHKEY | Git: Repo SSH keyfile. | | -| --git-token | | SUNGRO_GIT_TOKEN | Git: Repo token string. | | -| --diff-cmd | | SUNGRO_DIFF_CMD | Git: Command for diffs. | tkdiff | -| --config | | SUNGRO_CONFIG | GoSungro: config file. | $HOME/.GoSungro/config.json | -| --debug | | SUNGRO_DEBUG | GoSungro: Debug mode. | false | -| --quiet | -q | SUNGRO_QUIET | GoSungro: Silence all messages.| false | +| --user | -u | SUNGROW_USER | SUNGRO: API username. | | +| --password | -p | SUNGROW_PASSWORD | SUNGRO: API password. | | +| --host | | SUNGROW_HOST | SUNGRO: Provider API URL. | https://augateway.isolarcloud.com | +| --timeout | | SUNGROW_TIMEOUT | SUNGRO: API timeout. | 30s | +| --google-sheet | | SUNGROW_GOOGLE_SHEET | Google: Sheet URL for updates. | | +| --git-repo | | SUNGROW_GIT_REPO | Git: Repo url for updates. | | +| --git-dir | | SUNGROW_GIT_DIR | Git: Local repo directory. | | +| --git-username | | SUNGROW_GIT_USERNAME | Git: Repo username. | | +| --git-password | | SUNGROW_GIT_PASSWORD | Git: Repo password. | | +| --git-sshkey | | SUNGROW_GIT_SSHKEY | Git: Repo SSH keyfile. | | +| --git-token | | SUNGROW_GIT_TOKEN | Git: Repo token string. | | +| --diff-cmd | | SUNGROW_DIFF_CMD | Git: Command for diffs. | tkdiff | +| --config | | SUNGROW_CONFIG | GoSungrow: config file. | $HOME/.GoSungrow/config.json | +| --debug | | SUNGROW_DEBUG | GoSungrow: Debug mode. | false | +| --quiet | -q | SUNGROW_QUIET | GoSungrow: Silence all messages.| false | +----------------+------------+------------------+--------------------------------+--------------------------------------------------+ ``` diff --git a/bin/docker.sh b/bin/docker.sh index 0dd283ba6..59dce297c 100755 --- a/bin/docker.sh +++ b/bin/docker.sh @@ -1,12 +1,12 @@ #!/bin/bash -SUNGRO_GIT_TOKEN="$(jq -r '."git-token"' $HOME/.GoSungro/config.json)" -SUNGRO_HOST="$(jq -r '.host' $HOME/.GoSungro/config.json)" -SUNGRO_ID="$(jq -r '.id' $HOME/.GoSungro/config.json)" -SUNGRO_PASSWORD="$(jq -r '.password' $HOME/.GoSungro/config.json)" -SUNGRO_SECRET="$(jq -r '.secret' $HOME/.GoSungro/config.json)" -SUNGRO_USER="$(jq -r '.user' $HOME/.GoSungro/config.json)" -SUNGRO_GIT_REPO="$(jq -r '."git-repo"' $HOME/.GoSungro/config.json)" +SUNGRO_GIT_TOKEN="$(jq -r '."git-token"' $HOME/.GoSungrow/config.json)" +SUNGRO_HOST="$(jq -r '.host' $HOME/.GoSungrow/config.json)" +SUNGRO_ID="$(jq -r '.id' $HOME/.GoSungrow/config.json)" +SUNGRO_PASSWORD="$(jq -r '.password' $HOME/.GoSungrow/config.json)" +SUNGRO_SECRET="$(jq -r '.secret' $HOME/.GoSungrow/config.json)" +SUNGRO_USER="$(jq -r '.user' $HOME/.GoSungrow/config.json)" +SUNGRO_GIT_REPO="$(jq -r '."git-repo"' $HOME/.GoSungrow/config.json)" SUNGRO_GIT_DIR="/SUNGRO" SUNGRO_DIFF_CMD="tkdiff" # SUNGRO_GIT_TOKEN SUNGRO_HOST SUNGRO_ID SUNGRO_PASSWORD SUNGRO_SECRET SUNGRO_USER SUNGRO_DIFF_CMD @@ -25,6 +25,6 @@ docker build -t gosungro \ --build-arg "SUNGRO_DIFF_CMD=${SUNGRO_DIFF_CMD}" \ . -docker run --rm -it gosungro:latest /usr/local/bin/GoSungro help +docker run --rm -it gosungro:latest /usr/local/bin/GoSungrow help docker run --rm -it gosungro:latest /bin/sh diff --git a/cmd/OLD/cmd_api_contact.go b/cmd/OLD/cmd_api_contact.go deleted file mode 100644 index 9c0faaafe..000000000 --- a/cmd/OLD/cmd_api_contact.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/contact" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasContacts = []string{"contacts"} - -// ******************************************************************************** // -var cmdCountContacts = &cobra.Command{ - Use: web.GetStructName(contact.Contact{}), - Aliases: aliasContacts, - Short: fmt.Sprintf("Count all Contacts"), - Long: fmt.Sprintf("Count all Contacts"), - Example: fmt.Sprintf("%s count contact", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountContactsFunc, - Args: cobra.RangeArgs(0, 2), -} - -//goland:noinspection GoUnusedParameter -func cmdCountContactsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(2, args) - Cmd.Error = SunGro.CountContacts(args[0], args[1]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListContacts = &cobra.Command{ - Use: web.GetStructName(contact.Contact{}), - Aliases: aliasContacts, - Short: fmt.Sprintf("* List all Contacts"), - Long: fmt.Sprintf("* List all Contacts"), - //Example: fmt.Sprintf("%s ls contact", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListContactsFunc, - Args: cobra.RangeArgs(0, 2), -} - -//goland:noinspection GoUnusedParameter -func cmdListContactsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(2, args) - Cmd.Error = SunGro.ListContacts(args[0], args[1]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadContacts = &cobra.Command{ - Use: web.GetStructName(contact.Contact{}), - Aliases: aliasContacts, - Short: fmt.Sprintf("Read all Contacts"), - Long: fmt.Sprintf("Read all Contacts"), - Example: fmt.Sprintf("%s ls contact", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadContactsFunc, - Args: cobra.RangeArgs(0, 2), -} - -//goland:noinspection GoUnusedParameter -func cmdReadContactsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(2, args) - Cmd.Error = SunGro.ReadContacts(args[0], args[1]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateContacts = &cobra.Command{ -// Use: web.GetStructName(contact.Contact{}), -// Aliases: aliasContacts, -// Short: fmt.Sprintf("Update Google sheet: Contacts"), -// Long: fmt.Sprintf("Update Google sheet: Contacts"), -// Example: fmt.Sprintf("%s update contact", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateContactsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateContactsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("contact") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_department.go b/cmd/OLD/cmd_api_department.go deleted file mode 100644 index a8e8052ff..000000000 --- a/cmd/OLD/cmd_api_department.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/department" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasDepartments = []string{"departments", "dept"} - -// ******************************************************************************** // -var cmdCountDepartments = &cobra.Command{ - Use: web.GetStructName(department.Department{}), - Aliases: aliasDepartments, - Short: fmt.Sprintf("* Count all departments"), - Long: fmt.Sprintf("* Count all departments "), - //Example: fmt.Sprintf("%s count departments", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountDepartmentsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountDepartmentsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountDepartments(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListDepartments = &cobra.Command{ - Use: web.GetStructName(department.Department{}), - Aliases: aliasDepartments, - Short: fmt.Sprintf("List all departments"), - Long: fmt.Sprintf("List all departments "), - Example: fmt.Sprintf("%s ls departments", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListDepartmentsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListDepartmentsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListDepartments(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadDepartments = &cobra.Command{ - Use: web.GetStructName(department.Department{}), - Aliases: aliasDepartments, - Short: fmt.Sprintf("Read all departments"), - Long: fmt.Sprintf("Read all departments "), - Example: fmt.Sprintf("%s ls departments", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadDepartmentsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadDepartmentsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ReadDepartments(args[0]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateDepartments = &cobra.Command{ -// Use: web.GetStructName(department.Department{}), -// Aliases: aliasDepartments, -// Short: fmt.Sprintf("Update Google sheet: departments"), -// Long: fmt.Sprintf("Update Google sheet: departments "), -// Example: fmt.Sprintf("%s update departments", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateDepartmentsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateDepartmentsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("department") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_device.go b/cmd/OLD/cmd_api_device.go deleted file mode 100644 index ac94549de..000000000 --- a/cmd/OLD/cmd_api_device.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/device" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasDevices = []string{"devices", "dev"} - - -// ******************************************************************************** // -var cmdCountDevices = &cobra.Command{ - Use: web.GetStructName(device.Device{}), - Aliases: aliasDevices, - Short: fmt.Sprintf("Count all devices"), - Long: fmt.Sprintf("Count all devices "), - Example: fmt.Sprintf("%s count devices", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountDevicesFunc, - Args: cobra.RangeArgs(0, 1), -} -//goland:noinspection GoUnusedParameter -func cmdCountDevicesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountDevices(args[0]) - if Cmd.Error != nil { - break - } - } -} - - -// ******************************************************************************** // -var cmdListDevices = &cobra.Command{ - Use: web.GetStructName(device.Device{}), - Aliases: aliasDevices, - Short: fmt.Sprintf("List all devices"), - Long: fmt.Sprintf("List all devices "), - Example: fmt.Sprintf("%s ls devices", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListDevicesFunc, - Args: cobra.RangeArgs(0, 1), -} -//goland:noinspection GoUnusedParameter -func cmdListDevicesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListDevices(args[0]) - if Cmd.Error != nil { - break - } - } -} - - -// ******************************************************************************** // -var cmdReadDevices = &cobra.Command{ - Use: web.GetStructName(device.Device{}), - Aliases: aliasDevices, - Short: fmt.Sprintf("Read all device models"), - Long: fmt.Sprintf("Read all device models "), - Example: fmt.Sprintf("%s read models", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadDevicesFunc, - Args: cobra.RangeArgs(0, 1), -} -//goland:noinspection GoUnusedParameter -func cmdReadDevicesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ReadDevices(args[0]) - if Cmd.Error != nil { - break - } - } -} - - -//// ******************************************************************************** // -//var cmdUpdateDevices = &cobra.Command{ -// Use: web.GetStructName(device.Device{}), -// Aliases: aliasDevices, -// Short: fmt.Sprintf("Update Google sheet: devices"), -// Long: fmt.Sprintf("Update Google sheet: devices "), -// Example: fmt.Sprintf("%s update devices", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run:cmdUpdateDevicesFunc, -// Args: cobra.RangeArgs(0, 1), -//} -////goland:noinspection GoUnusedParameter -//func cmdUpdateDevicesFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("device") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_deviceModel.go b/cmd/OLD/cmd_api_deviceModel.go deleted file mode 100644 index 6bd96d3fb..000000000 --- a/cmd/OLD/cmd_api_deviceModel.go +++ /dev/null @@ -1,107 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/deviceModel" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasModels = []string{"models", "mod"} - -// ******************************************************************************** // -var cmdCountModels = &cobra.Command{ - Use: web.GetStructName(deviceModel.Model{}), - Aliases: aliasModels, - Short: fmt.Sprintf("Count all device models"), - Long: fmt.Sprintf("Count all device models "), - Example: fmt.Sprintf("%s count models", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountModelsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountModelsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.CountModels() - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListModels = &cobra.Command{ - Use: web.GetStructName(deviceModel.Model{}), - Aliases: aliasModels, - Short: fmt.Sprintf("List all device models"), - Long: fmt.Sprintf("List all device models "), - Example: fmt.Sprintf("%s ls models", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListModelsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListModelsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.ListModels() - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadModels = &cobra.Command{ - Use: web.GetStructName(deviceModel.Model{}), - Aliases: aliasModels, - Short: fmt.Sprintf("Read all device profiles"), - Long: fmt.Sprintf("Read all device profiles"), - Example: fmt.Sprintf("%s read profiles", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadModelsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadModelsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.ReadModels() - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateModels = &cobra.Command{ -// Use: web.GetStructName(deviceModel.Model{}), -// Aliases: aliasModels, -// Short: fmt.Sprintf("Update Google sheet: device models"), -// Long: fmt.Sprintf("Update Google sheet: device models "), -// Example: fmt.Sprintf("%s update models", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateModelsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateModelsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("model") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_deviceProfile.go b/cmd/OLD/cmd_api_deviceProfile.go deleted file mode 100644 index 5ba4614e9..000000000 --- a/cmd/OLD/cmd_api_deviceProfile.go +++ /dev/null @@ -1,107 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/deviceProfile" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasProfiles = []string{"profiles", "prof"} - -// ******************************************************************************** // -var cmdCountProfiles = &cobra.Command{ - Use: web.GetStructName(deviceProfile.Profile{}), - Aliases: aliasProfiles, - Short: fmt.Sprintf("Count all device profiles"), - Long: fmt.Sprintf("Count all device profiles"), - Example: fmt.Sprintf("%s count profiles", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountProfilesFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountProfilesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.CountProfiles() - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListProfiles = &cobra.Command{ - Use: web.GetStructName(deviceProfile.Profile{}), - Aliases: aliasProfiles, - Short: fmt.Sprintf("* List all device profiles"), - Long: fmt.Sprintf("* List all device profiles"), - //Example: fmt.Sprintf("%s ls profiles", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListProfilesFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListProfilesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.ListProfiles() - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadProfiles = &cobra.Command{ - Use: web.GetStructName(deviceProfile.Profile{}), - Aliases: aliasProfiles, - Short: fmt.Sprintf("Read all device profiles"), - Long: fmt.Sprintf("Read all device profiles"), - Example: fmt.Sprintf("%s ls profiles", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadProfilesFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadProfilesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.ReadProfiles() - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateProfiles = &cobra.Command{ -// Use: web.GetStructName(deviceProfile.Profile{}), -// Aliases: aliasProfiles, -// Short: fmt.Sprintf("Update Google sheet: device profiles"), -// Long: fmt.Sprintf("Update Google sheet: device profiles"), -// Example: fmt.Sprintf("%s update profiles", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateProfilesFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateProfilesFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("profile") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_domain.go b/cmd/OLD/cmd_api_domain.go deleted file mode 100644 index 35170a5a0..000000000 --- a/cmd/OLD/cmd_api_domain.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/domain" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasDomains = []string{"domains"} - -// ******************************************************************************** // -var cmdCountDomain = &cobra.Command{ - Use: web.GetStructName(domain.Domain{}), - Aliases: aliasDomains, - Short: fmt.Sprintf("Count info on domain."), - Long: fmt.Sprintf("Count info on domain. "), - Example: fmt.Sprintf("%s count domain", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountDomainFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountDomainFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountDomain(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListDomain = &cobra.Command{ - Use: web.GetStructName(domain.Domain{}), - Aliases: aliasDomains, - Short: fmt.Sprintf("* List info on domain."), - Long: fmt.Sprintf("* List info on domain. "), - //Example: fmt.Sprintf("%s ls domain", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListDomainFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListDomainFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListDomain(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadDomain = &cobra.Command{ - Use: web.GetStructName(domain.Domain{}), - Aliases: aliasDomains, - Short: fmt.Sprintf("Read all Domains"), - Long: fmt.Sprintf("Read all Domains"), - Example: fmt.Sprintf("%s read contact", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadDomainsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadDomainsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ReadDomain(args[0]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateDomain = &cobra.Command{ -// Use: web.GetStructName(domain.ApiAppKey{}), -// Aliases: aliasDomains, -// Short: fmt.Sprintf("Update Google sheet: domain."), -// Long: fmt.Sprintf("Update Google sheet: domain. "), -// Example: fmt.Sprintf("%s update domain", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateDomainFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateDomainFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("domain") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_mac.go b/cmd/OLD/cmd_api_mac.go deleted file mode 100644 index 44266fd08..000000000 --- a/cmd/OLD/cmd_api_mac.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/mac" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasMacs = []string{"macs"} - -// ******************************************************************************** // -var cmdCountMacs = &cobra.Command{ - Use: web.GetStructName(mac.Mac{}), - Aliases: aliasMacs, - Short: fmt.Sprintf("Count all Macs"), - Long: fmt.Sprintf("Count all Macs"), - Example: fmt.Sprintf("%s count mac", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountMacsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountMacsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountMacs(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListMacs = &cobra.Command{ - Use: web.GetStructName(mac.Mac{}), - Aliases: aliasMacs, - Short: fmt.Sprintf("List all Macs"), - Long: fmt.Sprintf("List all Macs"), - Example: fmt.Sprintf("%s ls mac", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListMacsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListMacsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListMacs(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadMacs = &cobra.Command{ - Use: web.GetStructName(mac.Mac{}), - Aliases: aliasMacs, - Short: fmt.Sprintf("Read all Macs"), - Long: fmt.Sprintf("Read all Macs"), - Example: fmt.Sprintf("%s read mac", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadMacsFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadMacsFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ReadMacs(args[0]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateMacs = &cobra.Command{ -// Use: web.GetStructName(mac.Mac{}), -// Aliases: aliasMacs, -// Short: fmt.Sprintf("Update Google sheet: Macs"), -// Long: fmt.Sprintf("Update Google sheet: Macs"), -// Example: fmt.Sprintf("%s update ndp", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateMacsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateMacsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("macs") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_ndpServer.go b/cmd/OLD/cmd_api_ndpServer.go deleted file mode 100644 index 53d53e936..000000000 --- a/cmd/OLD/cmd_api_ndpServer.go +++ /dev/null @@ -1,108 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/ndpServer" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasNdpServers = []string{"ndpservers", "ndp"} - -// ******************************************************************************** // -var cmdCountNdpServers = &cobra.Command{ - Use: web.GetStructName(ndpServer.Ndp{}), - Aliases: aliasNdpServers, - Short: fmt.Sprintf("Count all NdpServers"), - Long: fmt.Sprintf("Count all NdpServers"), - Example: fmt.Sprintf("%s count ndp", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountNdpServersFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountNdpServersFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountNdpServers() - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListNdpServers = &cobra.Command{ - Use: web.GetStructName(ndpServer.Ndp{}), - Aliases: aliasNdpServers, - Short: fmt.Sprintf("List all NdpServers"), - Long: fmt.Sprintf("List all NdpServers"), - Example: fmt.Sprintf("%s ls ndp", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListNdpServersFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListNdpServersFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.ListNdpServer() - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadNdpServers = &cobra.Command{ - Use: web.GetStructName(ndpServer.Ndp{}), - Aliases: aliasNdpServers, - Short: fmt.Sprintf("Read all NdpServers"), - Long: fmt.Sprintf("Read all NdpServers"), - Example: fmt.Sprintf("%s read profiles", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadNdpServersFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadNdpServersFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - Cmd.Error = SunGro.ReadNdpServer() - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateNdpServers = &cobra.Command{ -// Use: web.GetStructName(ndpServer.Ndp{}), -// Aliases: aliasNdpServers, -// Short: fmt.Sprintf("Update Google sheet: NdpServers"), -// Long: fmt.Sprintf("Update Google sheet: NdpServers"), -// Example: fmt.Sprintf("%s update ndp", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateNdpServersFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateNdpServersFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("ndpserver") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_presence.go b/cmd/OLD/cmd_api_presence.go deleted file mode 100644 index b7f6dcf2c..000000000 --- a/cmd/OLD/cmd_api_presence.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/presence" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasPresence = []string{"state", "online"} - -// ******************************************************************************** // -var cmdCountPresence = &cobra.Command{ - Use: web.GetStructName(presence.Presence{}), - Aliases: aliasPresence, - Short: fmt.Sprintf("* Count all presence"), - Long: fmt.Sprintf("* Count all presence "), - //Example: fmt.Sprintf("%s count presence", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountPresenceFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountPresenceFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountPresence(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListPresence = &cobra.Command{ - Use: web.GetStructName(presence.Presence{}), - Aliases: aliasPresence, - Short: fmt.Sprintf("List all presence"), - Long: fmt.Sprintf("List all presence "), - Example: fmt.Sprintf("%s ls presence", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListPresenceFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListPresenceFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListPresence(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadPresence = &cobra.Command{ - Use: web.GetStructName(presence.Presence{}), - Aliases: aliasPresence, - Short: fmt.Sprintf("* Read all presence"), - Long: fmt.Sprintf("* Read all presence "), - //Example: fmt.Sprintf("%s ls presence", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadPresenceFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadPresenceFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ReadPresence(args[0]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdatePresence = &cobra.Command{ -// Use: web.GetStructName(presence.Presence{}), -// Aliases: aliasPresence, -// Short: fmt.Sprintf("Update Google sheet: presence"), -// Long: fmt.Sprintf("Update Google sheet: presence "), -// Example: fmt.Sprintf("%s update presence", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdatePresenceFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdatePresenceFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("presence") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_site.go b/cmd/OLD/cmd_api_site.go deleted file mode 100644 index cdc5f0334..000000000 --- a/cmd/OLD/cmd_api_site.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/site" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasSites = []string{"sites"} - -// ******************************************************************************** // -var cmdCountSites = &cobra.Command{ - Use: web.GetStructName(site.Site{}), - Aliases: aliasSites, - Short: fmt.Sprintf("Count all sites"), - Long: fmt.Sprintf("Count all sites "), - Example: fmt.Sprintf("%s count sites", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountSitesFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountSitesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountSites(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListSites = &cobra.Command{ - Use: web.GetStructName(site.Site{}), - Aliases: aliasSites, - Short: fmt.Sprintf("List all sites"), - Long: fmt.Sprintf("List all sites "), - Example: fmt.Sprintf("%s ls sites", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListSitesFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListSitesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListSites(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadSites = &cobra.Command{ - Use: web.GetStructName(site.Site{}), - Aliases: aliasSites, - Short: fmt.Sprintf("Read all sites"), - Long: fmt.Sprintf("Read all sites "), - Example: fmt.Sprintf("%s read sites", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadSitesFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdReadSitesFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ReadSites(args[0]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateSites = &cobra.Command{ -// Use: web.GetStructName(site.Site{}), -// Aliases: aliasSites, -// Short: fmt.Sprintf("Update Google sheet: sites"), -// Long: fmt.Sprintf("Update Google sheet: sites "), -// Example: fmt.Sprintf("%s update sites", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateSitesFunc, -// Args: cobra.RangeArgs(0, 2), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateSitesFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("site") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/OLD/cmd_api_subscriber.go b/cmd/OLD/cmd_api_subscriber.go deleted file mode 100644 index e2bc051e1..000000000 --- a/cmd/OLD/cmd_api_subscriber.go +++ /dev/null @@ -1,110 +0,0 @@ -package cmd - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/subscriber" - "GoSungro/iSolarCloud/web" - "fmt" - "github.com/spf13/cobra" -) - -var aliasSubscribers = []string{"users", "user", "subscribers", "sub"} - -// ******************************************************************************** // -var cmdCountUsers = &cobra.Command{ - Use: web.GetStructName(subscriber.Subscriber{}), - Aliases: aliasSubscribers, - Short: fmt.Sprintf("Count all users"), - Long: fmt.Sprintf("Count all users "), - Example: fmt.Sprintf("%s count users", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdCountUsersFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdCountUsersFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.CountUsers(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdListUsers = &cobra.Command{ - Use: web.GetStructName(subscriber.Subscriber{}), - Aliases: aliasSubscribers, - Short: fmt.Sprintf("List all users"), - Long: fmt.Sprintf("List all users "), - Example: fmt.Sprintf("%s ls users", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdListUsersFunc, - Args: cobra.RangeArgs(0, 1), -} - -//goland:noinspection GoUnusedParameter -func cmdListUsersFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(1, args) - Cmd.Error = SunGro.ListUsers(args[0]) - if Cmd.Error != nil { - break - } - } -} - -// ******************************************************************************** // -var cmdReadUsers = &cobra.Command{ - Use: web.GetStructName(subscriber.Subscriber{}), - Aliases: aliasSubscribers, - Short: fmt.Sprintf("Read all users"), - Long: fmt.Sprintf("Read all users "), - Example: fmt.Sprintf("%s ls users", DefaultBinaryName), - DisableFlagParsing: false, - DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, - Run: cmdReadUsersFunc, - Args: cobra.RangeArgs(0, 2), -} - -//goland:noinspection GoUnusedParameter -func cmdReadUsersFunc(cmd *cobra.Command, args []string) { - for range Only.Once { - args = fillArray(2, args) - Cmd.Error = SunGro.ReadUsers(args[0], args[1]) - if Cmd.Error != nil { - break - } - } -} - -//// ******************************************************************************** // -//var cmdUpdateUsers = &cobra.Command{ -// Use: web.GetStructName(subscriber.Subscriber{}), -// Aliases: aliasSubscribers, -// Short: fmt.Sprintf("Update Google sheet: users"), -// Long: fmt.Sprintf("Update Google sheet: users "), -// Example: fmt.Sprintf("%s update users", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdUpdateUsersFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdUpdateUsersFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// Cmd.Error = Cmd.GoogleUpdate("user") -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/cmd.go b/cmd/cmd.go index 910632339..902b564bf 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -1,16 +1,15 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/spf13/cobra" ) - -var rootCmd = &cobra.Command { +var rootCmd = &cobra.Command{ Use: DefaultBinaryName, - Short: fmt.Sprintf("%s - Manage an SunGro instance", DefaultBinaryName), - Long: fmt.Sprintf("%s - Manage an SunGro instance", DefaultBinaryName), + Short: fmt.Sprintf("%s - Manage an SunGrow instance", DefaultBinaryName), + Long: fmt.Sprintf("%s - Manage an SunGrow instance", DefaultBinaryName), Run: gbRootFunc, TraverseChildren: true, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { @@ -18,6 +17,7 @@ var rootCmd = &cobra.Command { return initConfig(cmd) }, } + func gbRootFunc(cmd *cobra.Command, args []string) { for range Only.Once { if len(args) == 0 { diff --git a/cmd/cmd_api.go b/cmd/cmd_api.go index 3a0ece426..5a3c2860c 100644 --- a/cmd/cmd_api.go +++ b/cmd/cmd_api.go @@ -1,9 +1,9 @@ package cmd import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/sungro/AppService/login" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/sungro/AppService/login" "fmt" "github.com/spf13/cobra" ) @@ -12,14 +12,14 @@ import ( var cmdApi = &cobra.Command{ Use: "api", Aliases: []string{}, - Short: fmt.Sprintf("Interact with the SunGro api."), - Long: fmt.Sprintf("Interact with the SunGro api."), + Short: fmt.Sprintf("Interact with the SunGrow api."), + Long: fmt.Sprintf("Interact with the SunGrow api."), Example: PrintExamples("api", "get ", "put "), DisableFlagParsing: false, DisableFlagsInUseLine: false, - // PreRunE: Cmd.ProcessArgs, - Run: cmdApiFunc, - Args: cobra.MinimumNArgs(1), + PreRunE: Cmd.ProcessArgs, + Run: cmdApiFunc, + Args: cobra.MinimumNArgs(1), } //goland:noinspection GoUnusedParameter @@ -41,7 +41,7 @@ var cmdApiList = &cobra.Command{ Example: PrintExamples("api ls", "", "areas", "endpoints", ""), DisableFlagParsing: false, DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, + PreRunE: Cmd.SunGrowArgs, Run: cmdApiListFunc, Args: cobra.RangeArgs(0, 1), } @@ -55,13 +55,13 @@ func cmdApiListFunc(cmd *cobra.Command, args []string) { _ = cmd.Help() case args[0] == "endpoints": - Cmd.Error = SunGro.ListEndpoints("") + Cmd.Error = SunGrow.ListEndpoints("") case args[0] == "areas": - SunGro.ListAreas() + SunGrow.ListAreas() default: - Cmd.Error = SunGro.ListEndpoints(args[0]) + Cmd.Error = SunGrow.ListEndpoints(args[0]) } } } @@ -75,7 +75,7 @@ var cmdApiGet = &cobra.Command{ Example: PrintExamples("api get", " [area]"), DisableFlagParsing: false, DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, + PreRunE: Cmd.SunGrowArgs, Run: cmdApiGetFunc, Args: cobra.MinimumNArgs(1), } @@ -88,9 +88,9 @@ func cmdApiGetFunc(cmd *cobra.Command, args []string) { // args[1] = "{}" // } - ep := SunGro.GetEndpoint(args[0]) - if SunGro.Error != nil { - Cmd.Error = SunGro.Error + ep := SunGrow.GetEndpoint(args[0]) + if SunGrow.Error != nil { + Cmd.Error = SunGrow.Error break } if ep.IsError() { @@ -134,7 +134,7 @@ var cmdApiLogin = &cobra.Command{ Example: PrintExamples("api login", ""), DisableFlagParsing: false, DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, + PreRunE: Cmd.SunGrowArgs, Run: cmdApiLoginFunc, Args: cobra.MinimumNArgs(0), } @@ -142,7 +142,7 @@ var cmdApiLogin = &cobra.Command{ //goland:noinspection GoUnusedParameter func cmdApiLoginFunc(cmd *cobra.Command, args []string) { for range Only.Once { - Cmd.Error = SunGro.Login(login.SunGroAuth{ + Cmd.Error = SunGrow.Login(login.SunGrowAuth{ AppKey: Cmd.ApiAppKey, UserAccount: Cmd.ApiUsername, UserPassword: Cmd.ApiPassword, @@ -153,11 +153,11 @@ func cmdApiLoginFunc(cmd *cobra.Command, args []string) { break } - SunGro.Auth.Print() + SunGrow.Auth.Print() - if SunGro.HasTokenChanged() { - Cmd.ApiLastLogin = SunGro.GetLastLogin() - Cmd.ApiToken = SunGro.GetToken() + if SunGrow.HasTokenChanged() { + Cmd.ApiLastLogin = SunGrow.GetLastLogin() + Cmd.ApiToken = SunGrow.GetToken() Cmd.Error = writeConfig() } } @@ -172,7 +172,7 @@ var cmdApiPut = &cobra.Command{ Example: PrintExamples("api put", " "), DisableFlagParsing: false, DisableFlagsInUseLine: false, - PreRunE: Cmd.ProcessArgs, + PreRunE: Cmd.SunGrowArgs, Run: cmdApiPutFunc, Args: cobra.RangeArgs(0, 1), } @@ -182,7 +182,7 @@ func cmdApiPutFunc(cmd *cobra.Command, args []string) { for range Only.Once { fmt.Println("Not yet implemented.") // args = fillArray(1, args) - // Cmd.Error = SunGro.Init() + // Cmd.Error = SunGrow.Init() // if Cmd.Error != nil { // break // } diff --git a/cmd/cmd_api_domain.go b/cmd/cmd_api_domain.go deleted file mode 100644 index 9b4da39ed..000000000 --- a/cmd/cmd_api_domain.go +++ /dev/null @@ -1,79 +0,0 @@ -package cmd - -// -//var aliasCharts = []string{"charts"} -// -//// ******************************************************************************** // -//var cmdCountCharts = &cobra.Command{ -// Use: web.GetStructName(domain.Domain{}), -// Aliases: aliasCharts, -// Short: fmt.Sprintf("Count all Charts"), -// Long: fmt.Sprintf("Count all Charts"), -// Example: fmt.Sprintf("%s count contact", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdCountChartsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdCountChartsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// args = fillArray(1, args) -// Cmd.Error = SunGro.Init() -// if Cmd.Error != nil { -// break -// } -// } -//} -// -//// ******************************************************************************** // -//var cmdListCharts = &cobra.Command{ -// Use: web.GetStructName(domain.Domain{}), -// Aliases: aliasCharts, -// Short: fmt.Sprintf("List all Charts"), -// Long: fmt.Sprintf("List all Charts"), -// Example: fmt.Sprintf("%s ls contact", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdListChartsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdListChartsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// args = fillArray(1, args) -// Cmd.Error = SunGro.Init() -// if Cmd.Error != nil { -// break -// } -// } -//} -// -//// ******************************************************************************** // -//var cmdReadCharts = &cobra.Command{ -// Use: web.GetStructName(domain.Domain{}), -// Aliases: aliasCharts, -// Short: fmt.Sprintf("Read all Charts"), -// Long: fmt.Sprintf("Read all Charts"), -// Example: fmt.Sprintf("%s ls contact", DefaultBinaryName), -// DisableFlagParsing: false, -// DisableFlagsInUseLine: false, -// PreRunE: Cmd.ProcessArgs, -// Run: cmdReadChartsFunc, -// Args: cobra.RangeArgs(0, 1), -//} -// -////goland:noinspection GoUnusedParameter -//func cmdReadChartsFunc(cmd *cobra.Command, args []string) { -// for range Only.Once { -// args = fillArray(1, args) -// Cmd.Error = SunGro.Init() -// if Cmd.Error != nil { -// break -// } -// } -//} diff --git a/cmd/cmd_config.go b/cmd/cmd_config.go index 82f936220..d368bb896 100644 --- a/cmd/cmd_config.go +++ b/cmd/cmd_config.go @@ -1,7 +1,7 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/spf13/cobra" "os" diff --git a/cmd/cmd_cron.go b/cmd/cmd_cron.go index ac0809478..65b2da806 100644 --- a/cmd/cmd_cron.go +++ b/cmd/cmd_cron.go @@ -1,7 +1,7 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/go-co-op/gocron" "github.com/spf13/cobra" diff --git a/cmd/cmd_git.go b/cmd/cmd_git.go index bad4e611d..f02082bdc 100644 --- a/cmd/cmd_git.go +++ b/cmd/cmd_git.go @@ -1,27 +1,27 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/spf13/cobra" "os/user" "strings" ) - // ******************************************************************************** // var cmdGit = &cobra.Command{ - Use: "git", + Use: "git", //Aliases: []string{""}, Short: fmt.Sprintf("Git related commands."), Long: fmt.Sprintf("Git related commands. "), - Example: PrintExamples("git", "clone", "ls -la", "diff generate.org.au.json", "commit"), + Example: PrintExamples("git", "clone", "ls -la", "diff foo.json", "commit"), DisableFlagParsing: false, DisableFlagsInUseLine: false, PreRunE: Cmd.ProcessArgs, Run: cmdGitFunc, //Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -31,23 +31,26 @@ func cmdGitFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdSave = &cobra.Command{ Use: "save [area]", Aliases: []string{}, - Short: fmt.Sprintf("Save SunGro areas as JSON files."), - Long: fmt.Sprintf("Save SunGro areas as JSON files."), - Example: PrintExamples("save", "all", "site", "presence", "device"), + Short: fmt.Sprintf("Save SunGrow areas as JSON files."), + Long: fmt.Sprintf("Save SunGrow areas as JSON files."), + Example: PrintExamples("save", "all", "unit", "device"), DisableFlagParsing: false, DisableFlagsInUseLine: false, PreRunE: Cmd.ProcessArgs, Run: cmdSaveFunc, Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdSaveFunc(cmd *cobra.Command, args []string) { for range Only.Once { + fmt.Println("Not yet implemented.") + return + if len(args) == 0 { args = DefaultAreas } @@ -67,10 +70,9 @@ func cmdSaveFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitClone = &cobra.Command{ - Use: "clone", + Use: "clone", //Aliases: []string{"ls"}, Short: fmt.Sprintf("Clone git repo."), Long: fmt.Sprintf("Clone git repo. "), @@ -81,6 +83,7 @@ var cmdGitClone = &cobra.Command{ Run: cmdGitCloneFunc, //Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitCloneFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -91,10 +94,9 @@ func cmdGitCloneFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitCommit = &cobra.Command{ - Use: "commit [message]", + Use: "commit [message]", //Aliases: []string{"ls"}, Short: fmt.Sprintf("Commit git changes."), Long: fmt.Sprintf("Commit git changes. "), @@ -105,6 +107,7 @@ var cmdGitCommit = &cobra.Command{ Run: cmdGitCommitFunc, Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitCommitFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -126,20 +129,20 @@ func cmdGitCommitFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitAdd = &cobra.Command{ - Use: "add ", + Use: "add ", //Aliases: []string{"write"}, Short: fmt.Sprintf("Add files to Git repo."), Long: fmt.Sprintf("Add files to Git repo. "), - Example: PrintExamples("git add", ".", "generate.org.au.json"), + Example: PrintExamples("git add", ".", "foo.json"), DisableFlagParsing: false, DisableFlagsInUseLine: false, PreRunE: Cmd.ProcessArgs, Run: cmdGitAddFunc, Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitAddFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -161,10 +164,9 @@ func cmdGitAddFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitPull = &cobra.Command{ - Use: "pull", + Use: "pull", //Aliases: []string{"write"}, Short: fmt.Sprintf("Pull Git repo."), Long: fmt.Sprintf("Pull Git repo. "), @@ -175,6 +177,7 @@ var cmdGitPull = &cobra.Command{ Run: cmdGitPullFunc, Args: cobra.MaximumNArgs(0), } + //goland:noinspection GoUnusedParameter func cmdGitPullFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -190,10 +193,9 @@ func cmdGitPullFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitPush = &cobra.Command{ - Use: "push", + Use: "push", //Aliases: []string{"write"}, Short: fmt.Sprintf("Push Git repo."), Long: fmt.Sprintf("Push Git repo. "), @@ -204,6 +206,7 @@ var cmdGitPush = &cobra.Command{ Run: cmdGitPushFunc, Args: cobra.MaximumNArgs(0), } + //goland:noinspection GoUnusedParameter func cmdGitPushFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -219,20 +222,20 @@ func cmdGitPushFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitDiff = &cobra.Command{ - Use: "diff ", + Use: "diff ", //Aliases: []string{"write"}, Short: fmt.Sprintf("Show diffs between current and last version."), Long: fmt.Sprintf("Show diffs between current and last version. "), - Example: PrintExamples("git diff", "generate.org.au.json"), + Example: PrintExamples("git diff", "foo.json"), DisableFlagParsing: false, DisableFlagsInUseLine: false, PreRunE: Cmd.ProcessArgs, Run: cmdGitDiffFunc, Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitDiffFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -255,7 +258,6 @@ func cmdGitDiffFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitLs = &cobra.Command{ Use: "ls ", @@ -269,6 +271,7 @@ var cmdGitLs = &cobra.Command{ Run: cmdGitLsFunc, //Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitLsFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -280,13 +283,12 @@ func cmdGitLsFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGitSync = &cobra.Command{ Use: "sync [area]", Aliases: []string{}, - Short: fmt.Sprintf("Sync SunGro to Git repo."), - Long: fmt.Sprintf("Sync SunGro to Git repo."), + Short: fmt.Sprintf("Sync SunGrow to Git repo."), + Long: fmt.Sprintf("Sync SunGrow to Git repo."), Example: PrintExamples("sync", "default", "'updated everything'", "'this is an update' users"), DisableFlagParsing: false, DisableFlagsInUseLine: false, @@ -294,9 +296,13 @@ var cmdGitSync = &cobra.Command{ Run: cmdGitSyncFunc, Args: cobra.MinimumNArgs(1), } + //goland:noinspection GoUnusedParameter func cmdGitSyncFunc(cmd *cobra.Command, args []string) { for range Only.Once { + fmt.Println("Not yet implemented.") + return + if len(args) < 1 { Cmd.Error = cmd.Help() break @@ -304,13 +310,13 @@ func cmdGitSyncFunc(cmd *cobra.Command, args []string) { var msg string switch { - case args[0] == "": - fallthrough - case args[0] == "default": - u, _ := user.Current() - msg = fmt.Sprintf("Regular sync by %s", u.Username) - default: - msg = args[0] + case args[0] == "": + fallthrough + case args[0] == "default": + u, _ := user.Current() + msg = fmt.Sprintf("Regular sync by %s", u.Username) + default: + msg = args[0] } args = args[1:] diff --git a/cmd/cmd_google.go b/cmd/cmd_google.go index 6c694c54a..cc3a4adc4 100644 --- a/cmd/cmd_google.go +++ b/cmd/cmd_google.go @@ -1,28 +1,31 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/spf13/cobra" ) - // ******************************************************************************** // var cmdGoogle = &cobra.Command{ - Use: "google", - //Aliases: []string{"refresh"}, + Use: "google", + // Aliases: []string{"refresh"}, Short: fmt.Sprintf("Update and view Google sheets."), Long: fmt.Sprintf("Update and view Google sheets."), - Example: PrintExamples("google", "update all", "update users"), + Example: PrintExamples("google", "update all", "update devices"), DisableFlagParsing: false, DisableFlagsInUseLine: false, PreRunE: Cmd.ProcessArgs, Run: cmdGoogleFunc, Args: cobra.RangeArgs(0, 1), } + //goland:noinspection GoUnusedParameter func cmdGoogleFunc(cmd *cobra.Command, args []string) { for range Only.Once { + fmt.Println("Not yet implemented.") + return + switch { case len(args) == 0: Cmd.Error = cmd.Help() @@ -37,33 +40,36 @@ func cmdGoogleFunc(cmd *cobra.Command, args []string) { } } - // ******************************************************************************** // var cmdGoogleSync = &cobra.Command{ - Use: "update", - //Aliases: []string{"refresh"}, + Use: "update", + // Aliases: []string{"refresh"}, Short: fmt.Sprintf("Update Google sheets."), Long: fmt.Sprintf("Update Google sheets."), - Example: PrintExamples("google update", "all", "presence", "user"), + Example: PrintExamples("google update", "all", "device", "unit"), DisableFlagParsing: false, DisableFlagsInUseLine: false, PreRunE: Cmd.ProcessArgs, Run: cmdGoogleSyncFunc, Args: cobra.RangeArgs(0, 1), } + //goland:noinspection GoUnusedParameter func cmdGoogleSyncFunc(cmd *cobra.Command, args []string) { for range Only.Once { + fmt.Println("Not yet implemented.") + return + switch { - case len(args) == 0: - Cmd.Error = cmd.Help() + case len(args) == 0: + Cmd.Error = cmd.Help() - case args[0] == "all": - Cmd.Error = Cmd.GoogleUpdate() + case args[0] == "all": + Cmd.Error = Cmd.GoogleUpdate() - default: - fmt.Println("Unknown sub-command.") - _ = cmd.Help() + default: + fmt.Println("Unknown sub-command.") + _ = cmd.Help() } } } diff --git a/cmd/cmd_help.go b/cmd/cmd_help.go index 45694eee6..4871196ae 100644 --- a/cmd/cmd_help.go +++ b/cmd/cmd_help.go @@ -1,7 +1,7 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/olekukonko/tablewriter" "github.com/spf13/cobra" @@ -10,7 +10,6 @@ import ( "strings" ) - const DefaultHelpTemplate = `{{with (or .Long .Short)}}{{. | trimTrailingWhitespaces}} {{end}}{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}` @@ -46,7 +45,7 @@ const DefaultFlagHelpTemplate = `{{if .HasAvailableInheritedFlags}}Flags availab // ******************************************************************************** // var cmdHelpFlags = &cobra.Command{ - Use: "help-all", + Use: "help-all", //Aliases: []string{"flags"}, Short: fmt.Sprintf("Extended help"), Long: fmt.Sprintf("Extended help"), @@ -56,6 +55,7 @@ var cmdHelpFlags = &cobra.Command{ Run: cmdHelpFlagsFunc, Args: cobra.RangeArgs(0, 0), } + //goland:noinspection GoUnusedParameter func cmdHelpFlagsFunc(cmd *cobra.Command, args []string) { for range Only.Once { @@ -155,30 +155,30 @@ func PrintFlagEnv(flag string) string { return ret } -func ExtendedHelp() { +func ExtendedHelp() { var str = ` -DefaultBinaryName - Over The Wire SunGro to Gitlab syncing tool. +DefaultBinaryName - Over The Wire SunGrow to Gitlab syncing tool. This tool does several things: -1. Pull a Gitlab repo that holds SunGro data. -2. Fetch all data available from the SunGro. +1. Pull a Gitlab repo that holds SunGrow data. +2. Fetch all data available from the SunGrow. 3. Save this data as a JSON file. 4. Commit changes to the Gitlab repo. 5. Push changes to remote. -It is intended to provide full revision history for any changes made to the SunGro. +It is intended to provide full revision history for any changes made to the SunGrow. Use case example: -# Record changes made to user data on SunGro. (Will clone if not existing.) +# Record changes made to user data on SunGrow. (Will clone if not existing.) % DefaultBinaryName sync 'Updated users' users -# Record changes made to all SunGro manually. +# Record changes made to all SunGrow manually. % DefaultBinaryName sync 'Updated all zones' -# Record changes made to the SunGro with default commit message. +# Record changes made to the SunGrow with default commit message. % DefaultBinaryName sync default -# Record changes made to the SunGro via every 30 minutes. +# Record changes made to the SunGrow via every 30 minutes. % DefaultBinaryName cron run ./30 . . . . sync default # Show changes made to a zone JSON file. @@ -213,7 +213,7 @@ Use case example: Change Git repo url. % DefaultBinaryName --git-url=https://github.com/MickMake/iSolarData config write - Change SunGro API token. + Change SunGrow API token. % DefaultBinaryName --cf-token='this is a token string' config write ` diff --git a/cmd/cmd_mqtt.go b/cmd/cmd_mqtt.go index 1df5d5546..41fd93176 100644 --- a/cmd/cmd_mqtt.go +++ b/cmd/cmd_mqtt.go @@ -1,7 +1,7 @@ package cmd import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" "github.com/spf13/cobra" ) diff --git a/cmd/cmd_version.go b/cmd/cmd_version.go index ef3f59bcb..5759ccca6 100644 --- a/cmd/cmd_version.go +++ b/cmd/cmd_version.go @@ -1,8 +1,8 @@ package cmd import ( - "GoSungro/Only" - "GoSungro/defaults" + "GoSungrow/Only" + "GoSungrow/defaults" "fmt" "github.com/spf13/cobra" ) diff --git a/cmd/commands.go b/cmd/commands.go index 22b16a9d8..44ff083c5 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -1,9 +1,9 @@ package cmd import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/sungro" - "GoSungro/mmGit" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/sungro" + "GoSungrow/mmGit" "fmt" "github.com/spf13/cobra" "github.com/spf13/pflag" @@ -13,7 +13,7 @@ import ( "strings" ) -var SunGro *sungro.SunGro +var SunGrow *sungro.SunGrow var Git *mmGit.Git var Cmd CommandArgs var rootViper *viper.Viper @@ -41,20 +41,20 @@ func init() { Cmd.ConfigFile = filepath.Join(Cmd.ConfigDir, defaultConfigFile) Cmd.ApiTokenFile = filepath.Join(Cmd.ConfigDir, defaultTokenFile) - rootCmd.PersistentFlags().StringVarP(&Cmd.ApiUsername, flagApiUsername, "u", "", fmt.Sprintf("SunGro: api username.")) + rootCmd.PersistentFlags().StringVarP(&Cmd.ApiUsername, flagApiUsername, "u", "", fmt.Sprintf("SunGrow: api username.")) rootViper.SetDefault(flagApiUsername, "") - rootCmd.PersistentFlags().StringVarP(&Cmd.ApiPassword, flagApiPassword, "p", "", fmt.Sprintf("SunGro: api password.")) + rootCmd.PersistentFlags().StringVarP(&Cmd.ApiPassword, flagApiPassword, "p", "", fmt.Sprintf("SunGrow: api password.")) rootViper.SetDefault(flagApiPassword, "") - rootCmd.PersistentFlags().StringVarP(&Cmd.ApiAppKey, flagApiAppKey, "", "", fmt.Sprintf("SunGro: api application key.")) - rootViper.SetDefault(flagApiAppKey, "") + rootCmd.PersistentFlags().StringVarP(&Cmd.ApiAppKey, flagApiAppKey, "", defaultApiAppKey, fmt.Sprintf("SunGrow: api application key.")) + rootViper.SetDefault(flagApiAppKey, defaultApiAppKey) - rootCmd.PersistentFlags().StringVarP(&Cmd.ApiUrl, flagApiUrl, "", defaultHost, fmt.Sprintf("SunGro: Provider API URL.")) - rootViper.SetDefault(flagApiUrl, "") - rootCmd.PersistentFlags().DurationVarP(&Cmd.ApiTimeout, flagApiTimeout, "", defaultTimeout, fmt.Sprintf("SunGro: API timeout.")) - rootViper.SetDefault(flagApiTimeout, "") - rootCmd.PersistentFlags().StringVar(&Cmd.ApiLastLogin, flagApiLastLogin, "", "SunGro: last login.") + rootCmd.PersistentFlags().StringVarP(&Cmd.ApiUrl, flagApiUrl, "", defaultHost, fmt.Sprintf("SunGrow: Provider API URL.")) + rootViper.SetDefault(flagApiUrl, defaultHost) + rootCmd.PersistentFlags().DurationVarP(&Cmd.ApiTimeout, flagApiTimeout, "", defaultTimeout, fmt.Sprintf("SunGrow: API timeout.")) + rootViper.SetDefault(flagApiTimeout, defaultTimeout) + rootCmd.PersistentFlags().StringVar(&Cmd.ApiLastLogin, flagApiLastLogin, "", "SunGrow: last login.") rootViper.SetDefault(flagApiLastLogin, "") - _ = rootCmd.PersistentFlags().MarkHidden(flagApiLastLogin) + //_ = rootCmd.PersistentFlags().MarkHidden(flagApiLastLogin) rootCmd.PersistentFlags().StringVarP(&Cmd.GoogleSheet, flagGoogleSheet, "", "", fmt.Sprintf("Google: Sheet URL for updates.")) rootViper.SetDefault(flagGoogleSheet, "") @@ -116,14 +116,15 @@ func InitCommands() error { var err error for range Only.Once { - rootCmd.AddCommand(cmdConfig, cmdApi, cmdGit, cmdMqtt, cmdCron, cmdVersion, cmdHelpFlags) + rootCmd.AddCommand(cmdConfig, cmdApi, cmdGit, cmdMqtt, cmdGoogle, cmdCron, cmdVersion, cmdHelpFlags) cmdConfig.AddCommand(cmdConfigWrite, cmdConfigRead) cmdGit.AddCommand(cmdGitSync, cmdSave, cmdGitLs, cmdGitDiff, cmdGitClone, cmdGitPull, cmdGitPush, cmdGitCommit, cmdGitAdd) + cmdGoogle.AddCommand(cmdGoogleSync) cmdMqtt.AddCommand(cmdMqttSync) cmdCron.AddCommand(cmdCronRun, cmdCronAdd, cmdCronRemove, cmdCronList) cmdApi.AddCommand(cmdApiList, cmdApiLogin, cmdApiPut, cmdApiGet) - cmdApi.PersistentFlags().BoolVarP(&Cmd.ApiGetRaw, flagApiGetRaw, "", false, fmt.Sprintf("SunGro: api raw data, (not parsed nor evaluated).")) + cmdApi.PersistentFlags().BoolVarP(&Cmd.ApiGetRaw, flagApiGetRaw, "", false, fmt.Sprintf("SunGrow: api raw data, (not parsed nor evaluated).")) rootViper.SetDefault(flagApiGetRaw, false) // foo := rootCmd.HelpTemplate() diff --git a/cmd/struct.go b/cmd/struct.go index ec3989d85..862e01817 100644 --- a/cmd/struct.go +++ b/cmd/struct.go @@ -1,11 +1,11 @@ package cmd import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/sungro" - "GoSungro/iSolarCloud/sungro/AppService/login" - "GoSungro/lsgo" - "GoSungro/mmGit" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/sungro" + "GoSungrow/iSolarCloud/sungro/AppService/login" + "GoSungrow/lsgo" + "GoSungrow/mmGit" "errors" "fmt" "github.com/spf13/cobra" @@ -16,8 +16,8 @@ import ( //goland:noinspection SpellCheckingInspection const ( - DefaultBinaryName = "GoSungro" - EnvPrefix = "SunGro" + DefaultBinaryName = "GoSungrow" + EnvPrefix = "SunGrow" defaultConfigFile = "config.json" defaultTokenFile = "AuthToken.json" @@ -44,9 +44,10 @@ const ( flagGitRepoDir = "git-dir" flagGitDiffCmd = "diff-cmd" - defaultHost = "https://augateway.isolarcloud.com" - defaultUsername = "harry@potter.net" - defaultPassword = "hogwarts" + defaultHost = "https://augateway.isolarcloud.com" + defaultUsername = "harry@potter.net" + defaultPassword = "hogwarts" + defaultApiAppKey = "93D72E60331ABDCDC7B39ADC2D1F32B3" defaultTimeout = time.Duration(time.Second * 30) ) @@ -103,22 +104,47 @@ func (ca *CommandArgs) IsValid() error { return ca.Error } -//goland:noinspection GoUnusedParameter func (ca *CommandArgs) ProcessArgs(cmd *cobra.Command, args []string) error { for range Only.Once { ca.Args = args - SunGro = sungro.NewSunGro(ca.ApiUrl) - if SunGro.Error != nil { + SunGrow = sungro.NewSunGro(ca.ApiUrl) + if SunGrow.Error != nil { break } - Cmd.Error = SunGro.Init() + Cmd.Error = SunGrow.Init() if Cmd.Error != nil { break } - Cmd.Error = SunGro.Login(login.SunGroAuth{ + if ca.ApiAppKey == "" { + ca.ApiAppKey = defaultApiAppKey + } + + // if Cmd.GoogleSheetUpdate { + // SunGrow.OutputType = iSolarCloud.TypeGoogle + // } + + // Git.Error = Cmd.GitSet() + // if Cmd.Error != nil { + // break + // } + + ca.Valid = true + } + + return ca.Error +} + +func (ca *CommandArgs) SunGrowArgs(cmd *cobra.Command, args []string) error { + for range Only.Once { + Cmd.Error = Cmd.ProcessArgs(cmd, args) + if Cmd.Error != nil { + break + } + + Cmd.Error = SunGrow.Login(login.SunGrowAuth{ AppKey: ca.ApiAppKey, UserAccount: ca.ApiUsername, UserPassword: ca.ApiPassword, @@ -130,17 +156,17 @@ func (ca *CommandArgs) ProcessArgs(cmd *cobra.Command, args []string) error { } if Cmd.Debug { - SunGro.Auth.Print() + SunGrow.Auth.Print() } - if SunGro.HasTokenChanged() { - ca.ApiLastLogin = SunGro.GetLastLogin() - ca.ApiToken = SunGro.GetToken() + if SunGrow.HasTokenChanged() { + ca.ApiLastLogin = SunGrow.GetLastLogin() + ca.ApiToken = SunGrow.GetToken() ca.Error = writeConfig() } // if Cmd.GoogleSheetUpdate { - // SunGro.OutputType = iSolarCloud.TypeGoogle + // SunGrow.OutputType = iSolarCloud.TypeGoogle // } // Git.Error = Cmd.GitSet() @@ -259,21 +285,21 @@ func (ca *CommandArgs) GitSave(entities ...string) error { if len(entities) == 0 { entities = DefaultAreas } - fmt.Printf("Saving %d entities from the SunGro to Git...\n", len(entities)) + fmt.Printf("Saving %d entities from the SunGrow to Git...\n", len(entities)) - // SunGro.OutputType = iSolarCloud.StringTypeJson - // SunGro.OutputType = iSolarCloud.TypeJson + // SunGrow.OutputType = iSolarCloud.StringTypeJson + // SunGrow.OutputType = iSolarCloud.TypeJson for _, entity := range entities { // Remove plurals. entity = strings.TrimSuffix(entity, "s") - // SunGro.OutputString = "" + // SunGrow.OutputString = "" switch entity { case "domain": - SunGro.Error = SunGro.Init() + SunGrow.Error = SunGrow.Init() } - if SunGro.Error != nil { + if SunGrow.Error != nil { break } @@ -293,17 +319,17 @@ func (ca *CommandArgs) GitSave(entities ...string) error { func (ca *CommandArgs) GoogleUpdate(entities ...string) error { for range Only.Once { - // SunGro.OutputType = iSolarCloud.TypeGoogle + // SunGrow.OutputType = iSolarCloud.TypeGoogle if len(entities) == 0 { entities = DefaultAreas } - fmt.Printf("Saving %d entities from the SunGro to Google Docs...\n", len(entities)) + fmt.Printf("Saving %d entities from the SunGrow to Google Docs...\n", len(entities)) for _, entity := range entities { switch entity { case "domain": - ca.Error = SunGro.Init() + ca.Error = SunGrow.Init() if ca.Error != nil { break } diff --git a/examples.txt b/examples.txt index 1021bb875..701726d78 100644 --- a/examples.txt +++ b/examples.txt @@ -1,9 +1,9 @@ -./bin/GoSungro api get findPsType '{"ps_id":"1129147"}' -./bin/GoSungro api get getPsDetailWithPsType '{"ps_id":"1129147"}' -./bin/GoSungro api get getPowerStatistics '{"ps_id":"1129147"}' -./bin/GoSungro api get getPowerDevicePointNames '{"device_type":"1"}' -./bin/GoSungro api get getPowerDevicePointNames '{"device_type":"2"}' -./bin/GoSungro api get getPowerDevicePointNames '{"device_type":"7"}' -./bin/GoSungro api get getPsList -./bin/GoSungro api get WebAppService.showPSView '{"ps_id":"1129147"}' +./bin/GoSungrow api get findPsType '{"ps_id":"1129147"}' +./bin/GoSungrow api get getPsDetailWithPsType '{"ps_id":"1129147"}' +./bin/GoSungrow api get getPowerStatistics '{"ps_id":"1129147"}' +./bin/GoSungrow api get getPowerDevicePointNames '{"device_type":"1"}' +./bin/GoSungrow api get getPowerDevicePointNames '{"device_type":"2"}' +./bin/GoSungrow api get getPowerDevicePointNames '{"device_type":"7"}' +./bin/GoSungrow api get getPsList +./bin/GoSungrow api get WebAppService.showPSView '{"ps_id":"1129147"}' diff --git a/go.mod b/go.mod index fc2014eb8..18271e5cf 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module GoSungro +module GoSungrow go 1.17 diff --git a/google/sheet.go b/google/sheet.go index bd63cbdf5..7ed6dc333 100644 --- a/google/sheet.go +++ b/google/sheet.go @@ -1,7 +1,7 @@ package google import ( - "GoSungro/Only" + "GoSungrow/Only" "context" "encoding/json" "errors" diff --git a/google/struct.go b/google/struct.go index 47da0ee87..e7d5e6db7 100644 --- a/google/struct.go +++ b/google/struct.go @@ -1,7 +1,7 @@ package google import ( - "GoSungro/Only" + "GoSungrow/Only" "context" "errors" "fmt" @@ -77,7 +77,7 @@ func (s *Sheet) Verify() bool { s.TokenFile = "" break } - s.TokenFile = filepath.Join(s.TokenFile, ".GoSungro", DefaultAuthTokenFile) + s.TokenFile = filepath.Join(s.TokenFile, ".GoSungrow", DefaultAuthTokenFile) } ok = true diff --git a/iSolarCloud/api/apiReflect/get.go b/iSolarCloud/api/apiReflect/get.go deleted file mode 100644 index 23501925a..000000000 --- a/iSolarCloud/api/apiReflect/get.go +++ /dev/null @@ -1,129 +0,0 @@ -package apiReflect - - -// Old Get method - -// func (w *ApiRoot) Get(endpoint api.EndPoint) (api.EndPoint, error) { -// // func (w *ApiRoot) Get(u *url.URL, request interface{}) (interface{}, error) { -// // func (w *ApiRoot) Get(action interface{}) error { -// for range Only.Once { -// if w.Url == nil { -// w.Error = errors.New("SUNGRO API URL is invalid") -// break -// } -// -// request := endpoint.RequestRef() -// w.Error = reflect.VerifyOptionsRequired(request) -// if w.Error != nil { -// break -// } -// -// // objectName, actionName := GetNameOld(action) -// // httpRequest := FindInStruct(action, "RequestCommon") -// // httpResponse := FindInStruct(action, "ResponseCommon") -// // -// // objectName := GetStructName(object) -// // if objectName == "" { -// // w.Error = errors.New("invalid object name to structure") -// // break -// // } -// // -// // actionName := GetStructName(action) -// // if objectName == "" { -// // w.Error = errors.New("invalid action name to structure") -// // break -// // } -// // -// // requestString := Query(httpRequest) -// // if objectName == "" { -// // w.Error = errors.New("invalid httpRequest string for structure") -// // break -// // } -// // -// // responseString := Query(httpResponse) -// // if objectName == "" { -// // w.Error = errors.New("invalid httpResponse string for structure") -// // break -// // } -// // -// // u := fmt.Sprintf("%s?format=json&object=%s&action=%s%s", -// // w.Url.String(), -// // objectName, -// // actionName, -// // queryString, -// // ) -// -// p, _ := json.Marshal(request) -// -// // w.httpRequest, w.Error = http.NewRequest("GET", u, nil) -// // if w.Error != nil { -// // break -// // } -// // -// // w.httpRequest.Header.Set("Authorization", w.Auth.GetAuthHeader()) -// -// postUrl := fmt.Sprintf("%s%s", w.Url.String(), endpoint.GetUrl()) -// -// for range Only.Twice { -// w.httpResponse, w.Error = http.Post(postUrl, "application/json", bytes.NewBuffer(p)) -// if w.Error != nil { -// break -// } -// -// if strings.Contains(w.httpResponse.Status, "The access token provided is invalid") { -// // 401 Unauthorized The access token provided is invalid. -// // Will first attempt a refresh of the token OR re-login. -// w.Error = w.Auth.Login(&login.SunGroAuth { -// Expiry: "", -// AppKey: "", -// UserAccount: "", -// UserPassword: "", -// }) -// if w.Error != nil { -// w.Error = errors.New(w.httpResponse.Status) -// break -// } -// //w.Error = errors.New(fmt.Sprintf("API httpResponse is %s", w.httpResponse.Status)) -// continue -// } -// -// if w.httpResponse.StatusCode == 401 { -// w.Error = errors.New(w.httpResponse.Status) -// break -// } -// -// // All OK. -// break -// } -// //goland:noinspection GoUnhandledErrorResult -// defer w.httpResponse.Body.Close() -// if w.Error != nil { -// break -// } -// -// if w.httpResponse.StatusCode != 200 { -// w.Error = errors.New(fmt.Sprintf("API httpResponse is %s", w.httpResponse.Status)) -// break -// } -// -// w.Body, w.Error = ioutil.ReadAll(w.httpResponse.Body) -// if w.Error != nil { -// break -// } -// -// if len(w.Body) == 0 { -// w.Error = errors.New("empty httpResponse") -// break -// } -// -// endpoint = endpoint.SetResponse(w.Body) -// w.Error = endpoint.IsResponseValid() -// -// if w.Error != nil { -// fmt.Printf("ERROR: Body is:\n%s\n", w.Body) -// break -// } -// } -// -// return endpoint, w.Error -// } diff --git a/iSolarCloud/api/apiReflect/reflect.go b/iSolarCloud/api/apiReflect/reflect.go index ec2fd63e9..0a4e338cf 100644 --- a/iSolarCloud/api/apiReflect/reflect.go +++ b/iSolarCloud/api/apiReflect/reflect.go @@ -1,7 +1,7 @@ package apiReflect import ( - "GoSungro/Only" + "GoSungrow/Only" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/api/interface_endpoint.go b/iSolarCloud/api/interface_endpoint.go index 29bd1cbe7..3a623bee6 100644 --- a/iSolarCloud/api/interface_endpoint.go +++ b/iSolarCloud/api/interface_endpoint.go @@ -4,6 +4,7 @@ type EndPoint interface { GetArea() AreaName GetName() EndPointName GetUrl() EndPointUrl + IsDisabled() bool Help() string Call() EndPoint diff --git a/iSolarCloud/api/nullEndPoint/data.go b/iSolarCloud/api/nullEndPoint/data.go index 0b91283bc..dc75302b0 100644 --- a/iSolarCloud/api/nullEndPoint/data.go +++ b/iSolarCloud/api/nullEndPoint/data.go @@ -1,12 +1,13 @@ package nullEndPoint import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" + "errors" "fmt" ) -const Url = "" -const Name = "nullEndPoint" +const Url = "%URL%" +const Disabled = true type RequestData struct { // DeviceType string `json:"device_type" required:"true"` @@ -22,4 +23,35 @@ func (rd RequestData) Help() string { } type ResultData struct { + Dummy string `json:"dummy"` } + +func (e *ResultData) IsValid() error { + var err error + switch { + case e.Dummy == "": + break + default: + err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy)) + } + return err +} + +//type DecodeResultData ResultData +// +//func (e *ResultData) UnmarshalJSON(data []byte) error { +// var err error +// +// for range Only.Once { +// if len(data) == 0 { +// break +// } +// var pd DecodeResultData +// +// // Store ResultData +// _ = json.Unmarshal(data, &pd) +// e.Dummy = pd.Dummy +// } +// +// return err +//} diff --git a/iSolarCloud/api/nullEndPoint/struct.go b/iSolarCloud/api/nullEndPoint/struct.go index ba59ad066..0969e2ad2 100644 --- a/iSolarCloud/api/nullEndPoint/struct.go +++ b/iSolarCloud/api/nullEndPoint/struct.go @@ -1,9 +1,9 @@ package nullEndPoint import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" @@ -71,6 +71,10 @@ func (e EndPoint) Help() string { return ret } +func (e EndPoint) IsDisabled() bool { + return Disabled +} + func (e EndPoint) GetArea() api.AreaName { return e.Area } @@ -87,8 +91,12 @@ func (e EndPoint) Call() api.EndPoint { return e.ApiRoot.Get(e) } -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) +func (e EndPoint) GetData(raw bool) api.Json { + if raw { + return api.Json(e.ApiRoot.Body) + } else { + return api.GetAsPrettyJson(e.Response.ResultData) + } } func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { @@ -136,10 +144,6 @@ func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { if e.Error != nil { break } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } } return e } @@ -154,13 +158,13 @@ func (e EndPoint) GetRequestJson() api.Json { func (e EndPoint) IsRequestValid() error { for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() + //req := e.GetRequest() + //req := e.Request.RequestCommon + e.Error = e.Request.RequestCommon.IsValid() if e.Error != nil { break } - e.Error = req.RequestData.IsValid() + e.Error = e.Request.RequestData.IsValid() if e.Error != nil { break } @@ -170,13 +174,10 @@ func (e EndPoint) IsRequestValid() error { func (e EndPoint) SetResponse(ref []byte) api.EndPoint { for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) e.Error = json.Unmarshal(ref, &e.Response) if e.Error != nil { break } - // e.ResponseCommon = r } return e } @@ -191,12 +192,14 @@ func (e EndPoint) ResponseRef() interface{} { func (e EndPoint) IsResponseValid() error { for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() e.Error = e.Response.ResponseCommon.IsValid() if e.Error != nil { break } + e.Error = e.Response.ResultData.IsValid() + if e.Error != nil { + break + } } return e.Error } @@ -215,4 +218,20 @@ func (e EndPoint) ResponseString() string { func (e EndPoint) MarshalJSON() ([]byte, error) { return api.MarshalJSON(e) + + // return json.Marshal(&struct { + // Area string `json:"area"` + // EndPoint string `json:"endpoint"` + // Host string `json:"api_host"` + // Url string `json:"endpoint_url"` + // Request interface{} `json:"request"` + // Response interface{} `json:"response"` + // }{ + // Area: string(e.Area), + // EndPoint: string(e.Name), + // Host: e.ApiRoot.Url.String(), + // Url: e.Url.String(), + // Request: e.Request, + // Response: e.Response, + // }) } diff --git a/iSolarCloud/api/struct_area.go b/iSolarCloud/api/struct_area.go index ce628b5d8..46ccf81ff 100644 --- a/iSolarCloud/api/struct_area.go +++ b/iSolarCloud/api/struct_area.go @@ -1,7 +1,7 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "errors" "fmt" ) diff --git a/iSolarCloud/api/struct_areas.go b/iSolarCloud/api/struct_areas.go index 0ddbd6199..b416b5fed 100644 --- a/iSolarCloud/api/struct_areas.go +++ b/iSolarCloud/api/struct_areas.go @@ -1,7 +1,7 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "errors" "fmt" "github.com/olekukonko/tablewriter" diff --git a/iSolarCloud/api/struct_endpoint.go b/iSolarCloud/api/struct_endpoint.go index bfa11d91c..c04933608 100644 --- a/iSolarCloud/api/struct_endpoint.go +++ b/iSolarCloud/api/struct_endpoint.go @@ -1,7 +1,7 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/api/struct_endpoints.go b/iSolarCloud/api/struct_endpoints.go index 07ef0d2fb..0392dfcf6 100644 --- a/iSolarCloud/api/struct_endpoints.go +++ b/iSolarCloud/api/struct_endpoints.go @@ -1,7 +1,7 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "bytes" "errors" "fmt" diff --git a/iSolarCloud/api/struct_request.go b/iSolarCloud/api/struct_request.go index f6a6ac56e..4db0d6c10 100644 --- a/iSolarCloud/api/struct_request.go +++ b/iSolarCloud/api/struct_request.go @@ -1,7 +1,7 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "errors" "fmt" "strings" diff --git a/iSolarCloud/api/struct_response.go b/iSolarCloud/api/struct_response.go index 5c21fb13b..ecd6ada30 100644 --- a/iSolarCloud/api/struct_response.go +++ b/iSolarCloud/api/struct_response.go @@ -1,13 +1,12 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "errors" "fmt" "strings" ) - type Response struct { ResponseCommon } @@ -19,7 +18,6 @@ type ResponseCommon struct { ResultMsg string `json:"result_msg"` } - func (req ResponseCommon) IsValid() error { var err error for range Only.Once { @@ -27,14 +25,17 @@ func (req ResponseCommon) IsValid() error { if err != nil { break } + err = req.CheckResultCode() if err != nil { break } + err = CheckString("ReqSerialNum", req.ReqSerialNum) if err != nil { break } + // if req.ResultData == nil { // err = errors.New("zero results") // break @@ -47,12 +48,12 @@ func (req ResponseCommon) IsTokenValid() bool { var ok bool for range Only.Once { switch { - case req.ResultMsg == "success": - ok = true - case req.ResultMsg == "er_token_login_invalid": - ok = false - default: - ok = false + case req.ResultMsg == "success": + ok = true + case req.ResultMsg == "er_token_login_invalid": + ok = false + default: + ok = false } } return ok @@ -70,20 +71,20 @@ func (req ResponseCommon) CheckResultCode() error { var err error for range Only.Once { switch req.ResultCode { - case "1": - err = nil - case "-1": - err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) - case "010": - err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) - case "000": - err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) - case "201": - err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) - case "E00003": - err = errors.New(fmt.Sprintf("need to login again '%s'", req.ResultCode)) - default: - err = errors.New(fmt.Sprintf("unknown error '%s'", req.ResultCode)) + case "1": + err = nil + case "-1": + err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) + case "010": + err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) + case "000": + err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) + case "201": + err = errors.New(fmt.Sprintf("error '%s'", req.ResultCode)) + case "E00003": + err = errors.New(fmt.Sprintf("need to login again '%s'", req.ResultCode)) + default: + err = errors.New(fmt.Sprintf("unknown error '%s'", req.ResultCode)) } } return err @@ -93,20 +94,22 @@ func (req ResponseCommon) CheckResultMessage() error { var err error for range Only.Once { switch { - case req.ResultMsg == "success": - err = nil - case req.ResultMsg == "er_invalid_appkey": - err = errors.New(fmt.Sprintf("appkey is incorrect '%s'", req.ResultMsg)) - case req.ResultMsg == "er_token_login_invalid": - err = errors.New(fmt.Sprintf("need to login again '%s'", req.ResultMsg)) - case req.ResultMsg == "er_parameter_value_invalid": - err = errors.New(fmt.Sprintf("incorrect request data '%s'", req.ResultMsg)) - case req.ResultMsg == "er_unknown_exception": - err = errors.New(fmt.Sprintf("API error '%s'", req.ResultMsg)) - case strings.HasPrefix(req.ResultMsg, "Parameter:"): - err = errors.New(fmt.Sprintf("incorrect request data '%s'", req.ResultMsg)) - default: - err = errors.New(fmt.Sprintf("unknown error '%s'", req.ResultMsg)) + case req.ResultMsg == "success": + err = nil + case req.ResultMsg == `账号不存在`: + err = errors.New(fmt.Sprintf("Account does not exist '%s'", req.ResultMsg)) + case req.ResultMsg == "er_invalid_appkey": + err = errors.New(fmt.Sprintf("appkey is incorrect '%s'", req.ResultMsg)) + case req.ResultMsg == "er_token_login_invalid": + err = errors.New(fmt.Sprintf("need to login again '%s'", req.ResultMsg)) + case req.ResultMsg == "er_parameter_value_invalid": + err = errors.New(fmt.Sprintf("incorrect request data '%s'", req.ResultMsg)) + case req.ResultMsg == "er_unknown_exception": + err = errors.New(fmt.Sprintf("API error '%s'", req.ResultMsg)) + case strings.HasPrefix(req.ResultMsg, "Parameter:"): + err = errors.New(fmt.Sprintf("incorrect request data '%s'", req.ResultMsg)) + default: + err = errors.New(fmt.Sprintf("unknown error '%s'", req.ResultMsg)) } } return err diff --git a/iSolarCloud/api/struct_url.go b/iSolarCloud/api/struct_url.go index 74f1adb54..2098331b0 100644 --- a/iSolarCloud/api/struct_url.go +++ b/iSolarCloud/api/struct_url.go @@ -1,7 +1,7 @@ package api import ( - "GoSungro/Only" + "GoSungrow/Only" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/api/utils.go b/iSolarCloud/api/utils.go index 0da7bb8a3..16879a88b 100644 --- a/iSolarCloud/api/utils.go +++ b/iSolarCloud/api/utils.go @@ -1,8 +1,8 @@ package api import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "fmt" "net/url" diff --git a/iSolarCloud/api/web.go b/iSolarCloud/api/web.go index aeea3827d..cdf4c838a 100644 --- a/iSolarCloud/api/web.go +++ b/iSolarCloud/api/web.go @@ -1,9 +1,9 @@ package api import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api/apiReflect" - // "GoSungro/iSolarCloud/sungro/AppService/login" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api/apiReflect" + // "GoSungrow/iSolarCloud/sungro/AppService/login" "bytes" "encoding/json" "errors" @@ -12,11 +12,10 @@ import ( "net/http" ) - type Web struct { - Url EndPointUrl - Body []byte - Error error + Url EndPointUrl + Body []byte + Error error retry int client http.Client @@ -38,7 +37,7 @@ func (w *Web) Get(endpoint EndPoint) EndPoint { for range Only.Once { w.Error = w.Url.IsValid() if w.Error != nil { - w.Error = errors.New("SUNGRO API URL is invalid") + w.Error = errors.New("SUNGRO API EndPoint not yet implemented") break } diff --git a/iSolarCloud/api/web/get.go.txt b/iSolarCloud/api/web/get.go.txt index dc1367e8c..7559b47ab 100644 --- a/iSolarCloud/api/web/get.go.txt +++ b/iSolarCloud/api/web/get.go.txt @@ -1,8 +1,8 @@ package web import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/sungro/AppService/login" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/sungro/AppService/login" "bytes" "encoding/json" "errors" diff --git a/iSolarCloud/api/web/token.go b/iSolarCloud/api/web/token.go deleted file mode 100644 index 9e247e7d8..000000000 --- a/iSolarCloud/api/web/token.go +++ /dev/null @@ -1,257 +0,0 @@ -package web - - -// const ( -// DateTimeFormat = "2006-01-02T15:04:05" -// DefaultAuthTokenFile = "SunGroAuthToken.json" -// ) -// -// var ( -// TokenRequestUrl = "/v1/userService/login" -// ) -// -// type SunGroAuth struct { -// Expiry string -// -// AppKey string -// UserAccount string -// UserPassword string -// } -// -// type Auth struct { -// // Url *url.URL -// // RequestCommon login.RequestCommon -// // ResponseCommon login.ResponseCommon -// -// api.EndPoint -// -// File string -// Expiry time.Time -// newToken bool -// retry int -// -// Error error -// } -// -// -// func (t *Auth) Auth(auth *SunGroAuth) error { -// for range Only.Once { -// _ = t.readTokenFile() -// -// t.Error = t.Verify(auth) -// if t.Error != nil { -// break -// } -// -// t.Error = t.RetrieveToken() -// if t.Error != nil { -// break -// } -// } -// -// return t.Error -// } -// -// func (t *Auth) Verify(auth *SunGroAuth) error { -// for range Only.Once { -// if auth == nil { -// // If nil, then assume we haven't set anything. -// break -// } -// -// if auth.AppKey == "" { -// t.Error = errors.New("API AppKey") -// break -// } -// if auth.UserAccount == "" { -// t.Error = errors.New("empty Client ApiUsername") -// break -// } -// if auth.UserPassword == "" { -// t.Error = errors.New("empty Client ApiPassword") -// break -// } -// -// if t.ResponseCommon.ResultData.Auth == "" { -// t.newToken = true -// } -// -// if auth.Expiry == "" { -// auth.Expiry = time.Now().Format(DateTimeFormat) -// } -// t.Expiry, t.Error = time.Parse(DateTimeFormat, auth.Expiry) -// if t.Error != nil { -// t.newToken = true -// } -// -// t.RequestCommon = login.RequestCommon { -// Appkey: auth.AppKey, -// SysCode: "900", -// UserAccount: auth.UserAccount, -// UserPassword: auth.UserPassword, -// } -// -// t.HasTokenExpired() -// } -// -// return t.Error -// } -// -// func (t *Auth) RetrieveToken() error { -// for range Only.Once { -// t.HasTokenExpired() -// if !t.newToken { -// break -// } -// -// u := fmt.Sprintf("%s%s", -// t.Url.String(), -// TokenRequestUrl, -// ) -// //p, _ := json.Marshal(map[string]string { -// // "user_account": t.RequestCommon.UserAccount, -// // "user_password": t.RequestCommon.UserPassword, -// // "appkey": t.RequestCommon.AppKey, -// // "sys_code": "900", -// //}) -// p, _ := json.Marshal(t.RequestCommon) -// -// var httpResponse *http.ResponseCommon -// httpResponse, t.Error = http.Post(u, "application/json", bytes.NewBuffer(p)) -// if t.Error != nil { -// break -// } -// //goland:noinspection GoUnhandledErrorResult -// defer httpResponse.Body.Close() -// if httpResponse.StatusCode != 200 { -// t.Error = errors.New(fmt.Sprintf("Status Code is %d", httpResponse.StatusCode)) -// break -// } -// -// var body []byte -// body, t.Error = ioutil.ReadAll(httpResponse.Body) -// if t.Error != nil { -// break -// } -// -// t.Error = json.Unmarshal(body, &t.ResponseCommon) -// if t.Error != nil { -// break -// } -// -// t.Expiry = time.Now() -// -// t.Error = t.saveToken() -// if t.Error != nil { -// break -// } -// } -// -// return t.Error -// } -// -// func (t *Auth) HasTokenExpired() bool { -// for range Only.Once { -// if t.Expiry.Before(time.Now()) { -// t.newToken = true -// break -// } -// -// if t.ResponseCommon.ResultData.Auth == "" { -// t.newToken = true -// break -// } -// } -// -// return t.newToken -// } -// -// func (t *Auth) HasTokenChanged() bool { -// ok := t.newToken -// if t.newToken { -// t.newToken = false -// } -// return ok -// } -// -// // func (t *Auth) GetAuthHeader() string { -// // var ret string -// // -// // for range Only.Once { -// // //if t.ResponseCommon.TokenType == "" { -// // // break -// // //} -// // // -// // //if t.ResponseCommon.AccessToken == "" { -// // // break -// // //} -// // // -// // //ret = t.ResponseCommon.TokenType + " " + t.ResponseCommon.AccessToken -// // } -// // -// // return ret -// // } -// -// func (t *Auth) GetToken() string { -// //return fmt.Sprintf("%s %s", t.ResponseCommon.TokenType, t.ResponseCommon.AccessToken) -// return "" -// } -// -// func (t *Auth) GetTokenExpiry() time.Time { -// return t.Expiry -// } -// -// // Retrieves a token from a local file. -// func (t *Auth) readTokenFile() error { -// for range Only.Once { -// if t.File == "" { -// t.File, t.Error = os.UserHomeDir() -// if t.Error != nil { -// t.File = "" -// break -// } -// t.File = filepath.Join(t.File, ".GoSungro", DefaultAuthTokenFile) -// } -// -// var f *os.File -// f, t.Error = os.Open(t.File) -// if t.Error != nil { -// break -// } -// -// //goland:noinspection GoUnhandledErrorResult -// defer f.Close() -// //ret = &oauth2.token{} -// t.Error = json.NewDecoder(f).Decode(&t.ResponseCommon) -// } -// -// return t.Error -// } -// -// // Saves a token to a file path. -// func (t *Auth) saveToken() error { -// for range Only.Once { -// if t.File == "" { -// t.File, t.Error = os.UserHomeDir() -// if t.Error != nil { -// t.File = "" -// break -// } -// t.File = filepath.Join(t.File, ".GoSungro", DefaultAuthTokenFile) -// } -// -// fmt.Printf("Saving token file to: %s\n", t.File) -// var f *os.File -// f, t.Error = os.OpenFile(t.File, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600) -// if t.Error != nil { -// t.Error = errors.New(fmt.Sprintf("Unable to cache SUNGRO oauth token: %v", t.Error)) -// break -// } -// -// //goland:noinspection GoUnhandledErrorResult -// defer f.Close() -// t.Error = json.NewEncoder(f).Encode(t.ResponseCommon.ResultData) -// } -// -// return t.Error -// } diff --git a/iSolarCloud/struct.go b/iSolarCloud/struct.go index 867e8338d..ac5553919 100644 --- a/iSolarCloud/struct.go +++ b/iSolarCloud/struct.go @@ -1,21 +1,19 @@ package iSolarCloud -// var SunGro sungro.SunGro - const ( TypeGit = iota TypeJson = iota TypeHuman = iota TypeGoogle = iota - StringTypeGit = "git" - StringTypeJson = "json" - StringTypeHuman = "human" + StringTypeGit = "git" + StringTypeJson = "json" + StringTypeHuman = "human" StringTypeGoogle = "google" ) - type OutputType int + func (out *OutputType) IsGit() bool { if *out == TypeGit { return true diff --git a/iSolarCloud/sungro/AliSmsService/init.go b/iSolarCloud/sungro/AliSmsService/init.go index 93768d408..8754f1875 100644 --- a/iSolarCloud/sungro/AliSmsService/init.go +++ b/iSolarCloud/sungro/AliSmsService/init.go @@ -2,7 +2,7 @@ package AliSmsService import ( - "GoSungro/iSolarCloud/api" + "GoSungrow/iSolarCloud/api" "fmt" ) diff --git a/iSolarCloud/sungro/AliSmsService/nullEndPoint/data.go b/iSolarCloud/sungro/AliSmsService/nullEndPoint/data.go deleted file mode 100644 index 7ed519d43..000000000 --- a/iSolarCloud/sungro/AliSmsService/nullEndPoint/data.go +++ /dev/null @@ -1,27 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/iSolarCloud/api/apiReflect" - "fmt" -) - - -const Url = "" - - -type RequestData struct { - // DeviceType string `json:"device_type" required:"true"` -} - -func (rd RequestData) IsValid() error { - return apiReflect.VerifyOptionsRequired(rd) -} - -func (rd RequestData) Help() string { - ret := fmt.Sprintf("") - return ret -} - - -type ResultData struct { -} diff --git a/iSolarCloud/sungro/AliSmsService/nullEndPoint/struct.go b/iSolarCloud/sungro/AliSmsService/nullEndPoint/struct.go deleted file mode 100644 index 869bd0efb..000000000 --- a/iSolarCloud/sungro/AliSmsService/nullEndPoint/struct.go +++ /dev/null @@ -1,221 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" - "encoding/json" - "errors" - "fmt" -) - - -var _ api.EndPoint = (*EndPoint)(nil) - -type EndPoint struct { - api.EndPointStruct - Request Request - Response Response -} - -type Request struct { - api.RequestCommon - RequestData -} - -type Response struct { - api.ResponseCommon - ResultData ResultData `json:"result_data"` -} - -func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { - ApiRoot: apiRoot, - Area: api.GetArea(EndPoint{}), - Name: api.GetName(EndPoint{}), - Url: api.SetUrl(Url), - Request: Request{}, - Response: Response{}, - Error: nil, - }, - } -} - - -// **************************************** -// Methods not scoped by api.EndPoint interface type - -func (e EndPoint) Init(apiRoot *api.Web) *EndPoint { - ret := Init(apiRoot) - return &ret -} - -func (e EndPoint) GetRequest() Request { - return e.Request -} - -func (e EndPoint) GetResponse() Response { - return e.Response -} - -func Assert(e api.EndPoint) EndPoint { - return e.(EndPoint) -} - - -// **************************************** -// Methods defined by api.EndPoint interface type - -func (e EndPoint) Help() string { - ret := apiReflect.HelpOptions(e.Request.RequestData) - ret += fmt.Sprintf("JSON request:\t%s\n", e.GetRequestJson()) - ret += e.Request.Help() - return ret -} - -func (e EndPoint) GetArea() api.AreaName { - return e.Area -} - -func (e EndPoint) GetName() api.EndPointName { - return e.Name -} - -func (e EndPoint) GetUrl() api.EndPointUrl { - return e.Url -} - -func (e EndPoint) Call() api.EndPoint { - return e.ApiRoot.Get(e) -} - -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) -} - -func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { - e.EndPointStruct.Error = errors.New(fmt.Sprintf(format, a...)) - return e -} - -func (e EndPoint) GetError() error { - return e.EndPointStruct.Error -} - -func (e EndPoint) IsError() bool { - if e.Error != nil { - return true - } - return false -} - -func (e EndPoint) SetRequest(ref interface{}) api.EndPoint { - for range Only.Once { - if apiReflect.GetPkgType(ref) == "api.RequestCommon" { - e.Request.RequestCommon = ref.(api.RequestCommon) - break - } - - if apiReflect.GetType(ref) == "RequestData" { - e.Request.RequestData = ref.(RequestData) - e.Error = e.IsRequestValid() - break - } - - e.Error = apiReflect.DoPkgTypesMatch(e.Request, ref) - if e.Error != nil { - break - } - - e.Request = ref.(Request) - } - return e -} - -func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { - for range Only.Once { - e.Error = json.Unmarshal([]byte(j), &e.Request.RequestData) - if e.Error != nil { - break - } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } - } - return e -} - -func (e EndPoint) RequestRef() interface{} { - return e.Request -} - -func (e EndPoint) GetRequestJson() api.Json { - return api.GetAsJson(e.Request.RequestData) -} - -func (e EndPoint) IsRequestValid() error { - for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() - if e.Error != nil { - break - } - e.Error = req.RequestData.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) SetResponse(ref []byte) api.EndPoint { - for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) - e.Error = json.Unmarshal(ref, &e.Response) - if e.Error != nil { - break - } - // e.ResponseCommon = r - } - return e -} - -func (e EndPoint) GetResponseJson() api.Json { - return api.GetAsPrettyJson(e.Response) -} - -func (e EndPoint) ResponseRef() interface{} { - return e.Response -} - -func (e EndPoint) IsResponseValid() error { - for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() - e.Error = e.Response.ResponseCommon.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) String() string { - return api.GetEndPointString(e) -} - -func (e EndPoint) RequestString() string { - return api.GetRequestString(e.Request) -} - -func (e EndPoint) ResponseString() string { - return api.GetRequestString(e.Response) -} - -func (e EndPoint) MarshalJSON() ([]byte, error) { - return api.MarshalJSON(e) -} diff --git a/iSolarCloud/sungro/AppService/acceptPsSharing/data.go b/iSolarCloud/sungro/AppService/acceptPsSharing/data.go index d5c9d45a4..9681452f6 100644 --- a/iSolarCloud/sungro/AppService/acceptPsSharing/data.go +++ b/iSolarCloud/sungro/AppService/acceptPsSharing/data.go @@ -1,7 +1,7 @@ package acceptPsSharing import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/acceptPsSharing/struct.go b/iSolarCloud/sungro/AppService/acceptPsSharing/struct.go index 944ae511f..91f33dd8a 100644 --- a/iSolarCloud/sungro/AppService/acceptPsSharing/struct.go +++ b/iSolarCloud/sungro/AppService/acceptPsSharing/struct.go @@ -1,9 +1,9 @@ package acceptPsSharing import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/activateEmail/data.go b/iSolarCloud/sungro/AppService/activateEmail/data.go index 3cf3f6be1..bbeca0e6f 100644 --- a/iSolarCloud/sungro/AppService/activateEmail/data.go +++ b/iSolarCloud/sungro/AppService/activateEmail/data.go @@ -1,7 +1,7 @@ package activateEmail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/activateEmail/struct.go b/iSolarCloud/sungro/AppService/activateEmail/struct.go index 3d5790741..b7cd78ba7 100644 --- a/iSolarCloud/sungro/AppService/activateEmail/struct.go +++ b/iSolarCloud/sungro/AppService/activateEmail/struct.go @@ -1,9 +1,9 @@ package activateEmail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addConfig/data.go b/iSolarCloud/sungro/AppService/addConfig/data.go index 3809bb196..0a0476097 100644 --- a/iSolarCloud/sungro/AppService/addConfig/data.go +++ b/iSolarCloud/sungro/AppService/addConfig/data.go @@ -1,7 +1,7 @@ package addConfig import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addConfig/struct.go b/iSolarCloud/sungro/AppService/addConfig/struct.go index cffe05882..15e929d3e 100644 --- a/iSolarCloud/sungro/AppService/addConfig/struct.go +++ b/iSolarCloud/sungro/AppService/addConfig/struct.go @@ -1,9 +1,9 @@ package addConfig import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addDeviceRepair/data.go b/iSolarCloud/sungro/AppService/addDeviceRepair/data.go index c4ae78454..f245237b6 100644 --- a/iSolarCloud/sungro/AppService/addDeviceRepair/data.go +++ b/iSolarCloud/sungro/AppService/addDeviceRepair/data.go @@ -1,7 +1,7 @@ package addDeviceRepair import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addDeviceRepair/struct.go b/iSolarCloud/sungro/AppService/addDeviceRepair/struct.go index 0b34bc3a6..2546dc3b6 100644 --- a/iSolarCloud/sungro/AppService/addDeviceRepair/struct.go +++ b/iSolarCloud/sungro/AppService/addDeviceRepair/struct.go @@ -1,9 +1,9 @@ package addDeviceRepair import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/data.go b/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/data.go index 6db3ef75b..45974c986 100644 --- a/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/data.go +++ b/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/data.go @@ -1,7 +1,7 @@ package addDeviceToStructureForHousehold import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/struct.go b/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/struct.go index 72e2ac81b..e3c8b9ed5 100644 --- a/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/struct.go +++ b/iSolarCloud/sungro/AppService/addDeviceToStructureForHousehold/struct.go @@ -1,9 +1,9 @@ package addDeviceToStructureForHousehold import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go b/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go index bf5f87f0a..3c7580554 100644 --- a/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go +++ b/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/data.go @@ -1,7 +1,7 @@ package addDeviceToStructureForHouseholdByPsIdS import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go b/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go index b118f60d9..5c9589a64 100644 --- a/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go +++ b/iSolarCloud/sungro/AppService/addDeviceToStructureForHouseholdByPsIdS/struct.go @@ -1,9 +1,9 @@ package addDeviceToStructureForHouseholdByPsIdS import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addFault/data.go b/iSolarCloud/sungro/AppService/addFault/data.go index 743bf734b..e5e4d48ca 100644 --- a/iSolarCloud/sungro/AppService/addFault/data.go +++ b/iSolarCloud/sungro/AppService/addFault/data.go @@ -1,7 +1,7 @@ package addFault import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addFault/struct.go b/iSolarCloud/sungro/AppService/addFault/struct.go index 310d185a9..d6064af33 100644 --- a/iSolarCloud/sungro/AppService/addFault/struct.go +++ b/iSolarCloud/sungro/AppService/addFault/struct.go @@ -1,9 +1,9 @@ package addFault import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addFaultOrder/data.go b/iSolarCloud/sungro/AppService/addFaultOrder/data.go index 3fea1abea..85d3a3ae6 100644 --- a/iSolarCloud/sungro/AppService/addFaultOrder/data.go +++ b/iSolarCloud/sungro/AppService/addFaultOrder/data.go @@ -1,7 +1,7 @@ package addFaultOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addFaultOrder/struct.go b/iSolarCloud/sungro/AppService/addFaultOrder/struct.go index d4483d1f7..5e4b45f1c 100644 --- a/iSolarCloud/sungro/AppService/addFaultOrder/struct.go +++ b/iSolarCloud/sungro/AppService/addFaultOrder/struct.go @@ -1,9 +1,9 @@ package addFaultOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addFaultPlan/data.go b/iSolarCloud/sungro/AppService/addFaultPlan/data.go index 0bab31f7b..627330c87 100644 --- a/iSolarCloud/sungro/AppService/addFaultPlan/data.go +++ b/iSolarCloud/sungro/AppService/addFaultPlan/data.go @@ -1,7 +1,7 @@ package addFaultPlan import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addFaultPlan/struct.go b/iSolarCloud/sungro/AppService/addFaultPlan/struct.go index 995a18d0d..06a3a5bfc 100644 --- a/iSolarCloud/sungro/AppService/addFaultPlan/struct.go +++ b/iSolarCloud/sungro/AppService/addFaultPlan/struct.go @@ -1,9 +1,9 @@ package addFaultPlan import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addFaultRepairSteps/data.go b/iSolarCloud/sungro/AppService/addFaultRepairSteps/data.go index f20988187..cac6f69da 100644 --- a/iSolarCloud/sungro/AppService/addFaultRepairSteps/data.go +++ b/iSolarCloud/sungro/AppService/addFaultRepairSteps/data.go @@ -1,7 +1,7 @@ package addFaultRepairSteps import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addFaultRepairSteps/struct.go b/iSolarCloud/sungro/AppService/addFaultRepairSteps/struct.go index 1e83c7f21..75d1e33e9 100644 --- a/iSolarCloud/sungro/AppService/addFaultRepairSteps/struct.go +++ b/iSolarCloud/sungro/AppService/addFaultRepairSteps/struct.go @@ -1,9 +1,9 @@ package addFaultRepairSteps import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addHouseholdEvaluation/data.go b/iSolarCloud/sungro/AppService/addHouseholdEvaluation/data.go index d8f73f3dd..662643b09 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdEvaluation/data.go +++ b/iSolarCloud/sungro/AppService/addHouseholdEvaluation/data.go @@ -1,7 +1,7 @@ package addHouseholdEvaluation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addHouseholdEvaluation/struct.go b/iSolarCloud/sungro/AppService/addHouseholdEvaluation/struct.go index f2604023d..98cd520ad 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdEvaluation/struct.go +++ b/iSolarCloud/sungro/AppService/addHouseholdEvaluation/struct.go @@ -1,9 +1,9 @@ package addHouseholdEvaluation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/data.go b/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/data.go index 41573e5a3..a8cf8bb78 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/data.go +++ b/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/data.go @@ -1,7 +1,7 @@ package addHouseholdLeaveMessage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/struct.go b/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/struct.go index 23a8f1958..b9d2e136d 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/struct.go +++ b/iSolarCloud/sungro/AppService/addHouseholdLeaveMessage/struct.go @@ -1,9 +1,9 @@ package addHouseholdLeaveMessage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/data.go b/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/data.go index 90103f76e..ea9ef7129 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/data.go +++ b/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/data.go @@ -1,7 +1,7 @@ package addHouseholdOpinionFeedback import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/struct.go b/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/struct.go index 5d63f46f1..a18332fb3 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/struct.go +++ b/iSolarCloud/sungro/AppService/addHouseholdOpinionFeedback/struct.go @@ -1,9 +1,9 @@ package addHouseholdOpinionFeedback import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/data.go b/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/data.go index 40c6784d0..dba53416c 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/data.go +++ b/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/data.go @@ -1,7 +1,7 @@ package addHouseholdWorkOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/struct.go b/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/struct.go index bc2fb0354..f8d72b0be 100644 --- a/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/struct.go +++ b/iSolarCloud/sungro/AppService/addHouseholdWorkOrder/struct.go @@ -1,9 +1,9 @@ package addHouseholdWorkOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addOnDutyInfo/data.go b/iSolarCloud/sungro/AppService/addOnDutyInfo/data.go index d039205f0..734cae0b3 100644 --- a/iSolarCloud/sungro/AppService/addOnDutyInfo/data.go +++ b/iSolarCloud/sungro/AppService/addOnDutyInfo/data.go @@ -1,7 +1,7 @@ package addOnDutyInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addOnDutyInfo/struct.go b/iSolarCloud/sungro/AppService/addOnDutyInfo/struct.go index 8a8112faf..2f9013cda 100644 --- a/iSolarCloud/sungro/AppService/addOnDutyInfo/struct.go +++ b/iSolarCloud/sungro/AppService/addOnDutyInfo/struct.go @@ -1,9 +1,9 @@ package addOnDutyInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addOperRule/data.go b/iSolarCloud/sungro/AppService/addOperRule/data.go index 6ba017cb5..15bb02cd1 100644 --- a/iSolarCloud/sungro/AppService/addOperRule/data.go +++ b/iSolarCloud/sungro/AppService/addOperRule/data.go @@ -1,7 +1,7 @@ package addOperRule import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addOperRule/struct.go b/iSolarCloud/sungro/AppService/addOperRule/struct.go index f1453a156..325872783 100644 --- a/iSolarCloud/sungro/AppService/addOperRule/struct.go +++ b/iSolarCloud/sungro/AppService/addOperRule/struct.go @@ -1,9 +1,9 @@ package addOperRule import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addOrDelPsStructure/data.go b/iSolarCloud/sungro/AppService/addOrDelPsStructure/data.go index 7a9467c59..c7648428d 100644 --- a/iSolarCloud/sungro/AppService/addOrDelPsStructure/data.go +++ b/iSolarCloud/sungro/AppService/addOrDelPsStructure/data.go @@ -1,7 +1,7 @@ package addOrDelPsStructure import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addOrDelPsStructure/struct.go b/iSolarCloud/sungro/AppService/addOrDelPsStructure/struct.go index 119f7fc20..d8452289d 100644 --- a/iSolarCloud/sungro/AppService/addOrDelPsStructure/struct.go +++ b/iSolarCloud/sungro/AppService/addOrDelPsStructure/struct.go @@ -1,9 +1,9 @@ package addOrDelPsStructure import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addOrderStep/data.go b/iSolarCloud/sungro/AppService/addOrderStep/data.go index 0bacd7e58..3fcf359fe 100644 --- a/iSolarCloud/sungro/AppService/addOrderStep/data.go +++ b/iSolarCloud/sungro/AppService/addOrderStep/data.go @@ -1,7 +1,7 @@ package addOrderStep import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addOrderStep/struct.go b/iSolarCloud/sungro/AppService/addOrderStep/struct.go index 0f837af89..75a9b36b3 100644 --- a/iSolarCloud/sungro/AppService/addOrderStep/struct.go +++ b/iSolarCloud/sungro/AppService/addOrderStep/struct.go @@ -1,9 +1,9 @@ package addOrderStep import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addPowerStationForHousehold/data.go b/iSolarCloud/sungro/AppService/addPowerStationForHousehold/data.go index dbd5ad589..db6fb548a 100644 --- a/iSolarCloud/sungro/AppService/addPowerStationForHousehold/data.go +++ b/iSolarCloud/sungro/AppService/addPowerStationForHousehold/data.go @@ -1,7 +1,7 @@ package addPowerStationForHousehold import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addPowerStationForHousehold/struct.go b/iSolarCloud/sungro/AppService/addPowerStationForHousehold/struct.go index 526d29783..16dc9b548 100644 --- a/iSolarCloud/sungro/AppService/addPowerStationForHousehold/struct.go +++ b/iSolarCloud/sungro/AppService/addPowerStationForHousehold/struct.go @@ -1,9 +1,9 @@ package addPowerStationForHousehold import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addPowerStationInfo/data.go b/iSolarCloud/sungro/AppService/addPowerStationInfo/data.go index 6585e8a5a..3dc5cd923 100644 --- a/iSolarCloud/sungro/AppService/addPowerStationInfo/data.go +++ b/iSolarCloud/sungro/AppService/addPowerStationInfo/data.go @@ -1,7 +1,7 @@ package addPowerStationInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addPowerStationInfo/struct.go b/iSolarCloud/sungro/AppService/addPowerStationInfo/struct.go index 3dfc35647..9cb6c7078 100644 --- a/iSolarCloud/sungro/AppService/addPowerStationInfo/struct.go +++ b/iSolarCloud/sungro/AppService/addPowerStationInfo/struct.go @@ -1,9 +1,9 @@ package addPowerStationInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addReportConfigEmail/data.go b/iSolarCloud/sungro/AppService/addReportConfigEmail/data.go index 6ad74499e..992297d68 100644 --- a/iSolarCloud/sungro/AppService/addReportConfigEmail/data.go +++ b/iSolarCloud/sungro/AppService/addReportConfigEmail/data.go @@ -1,7 +1,7 @@ package addReportConfigEmail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addReportConfigEmail/struct.go b/iSolarCloud/sungro/AppService/addReportConfigEmail/struct.go index 86690226e..bcb016a99 100644 --- a/iSolarCloud/sungro/AppService/addReportConfigEmail/struct.go +++ b/iSolarCloud/sungro/AppService/addReportConfigEmail/struct.go @@ -1,9 +1,9 @@ package addReportConfigEmail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addSysAdvancedParam/data.go b/iSolarCloud/sungro/AppService/addSysAdvancedParam/data.go index db0adeffc..4357c6154 100644 --- a/iSolarCloud/sungro/AppService/addSysAdvancedParam/data.go +++ b/iSolarCloud/sungro/AppService/addSysAdvancedParam/data.go @@ -1,7 +1,7 @@ package addSysAdvancedParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addSysAdvancedParam/struct.go b/iSolarCloud/sungro/AppService/addSysAdvancedParam/struct.go index 981bbbf47..a1da0c17d 100644 --- a/iSolarCloud/sungro/AppService/addSysAdvancedParam/struct.go +++ b/iSolarCloud/sungro/AppService/addSysAdvancedParam/struct.go @@ -1,9 +1,9 @@ package addSysAdvancedParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/addSysOrgNew/data.go b/iSolarCloud/sungro/AppService/addSysOrgNew/data.go index 5995c0cc8..46df3f90c 100644 --- a/iSolarCloud/sungro/AppService/addSysOrgNew/data.go +++ b/iSolarCloud/sungro/AppService/addSysOrgNew/data.go @@ -1,7 +1,7 @@ package addSysOrgNew import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/addSysOrgNew/struct.go b/iSolarCloud/sungro/AppService/addSysOrgNew/struct.go index 6aba6f962..5f7ecfe42 100644 --- a/iSolarCloud/sungro/AppService/addSysOrgNew/struct.go +++ b/iSolarCloud/sungro/AppService/addSysOrgNew/struct.go @@ -1,9 +1,9 @@ package addSysOrgNew import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/aliPayAppTest/data.go b/iSolarCloud/sungro/AppService/aliPayAppTest/data.go index 2dfab4329..a40653f91 100644 --- a/iSolarCloud/sungro/AppService/aliPayAppTest/data.go +++ b/iSolarCloud/sungro/AppService/aliPayAppTest/data.go @@ -1,7 +1,7 @@ package aliPayAppTest import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/aliPayAppTest/struct.go b/iSolarCloud/sungro/AppService/aliPayAppTest/struct.go index 4497612b0..50c8532a0 100644 --- a/iSolarCloud/sungro/AppService/aliPayAppTest/struct.go +++ b/iSolarCloud/sungro/AppService/aliPayAppTest/struct.go @@ -1,9 +1,9 @@ package aliPayAppTest import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/auditOperRule/data.go b/iSolarCloud/sungro/AppService/auditOperRule/data.go index 438c84016..841ee63bc 100644 --- a/iSolarCloud/sungro/AppService/auditOperRule/data.go +++ b/iSolarCloud/sungro/AppService/auditOperRule/data.go @@ -1,7 +1,7 @@ package auditOperRule import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/auditOperRule/struct.go b/iSolarCloud/sungro/AppService/auditOperRule/struct.go index 733ba6e5f..a60216de8 100644 --- a/iSolarCloud/sungro/AppService/auditOperRule/struct.go +++ b/iSolarCloud/sungro/AppService/auditOperRule/struct.go @@ -1,9 +1,9 @@ package auditOperRule import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchAddStationBySn/data.go b/iSolarCloud/sungro/AppService/batchAddStationBySn/data.go index f01a7081d..6c353c2c9 100644 --- a/iSolarCloud/sungro/AppService/batchAddStationBySn/data.go +++ b/iSolarCloud/sungro/AppService/batchAddStationBySn/data.go @@ -1,7 +1,7 @@ package batchAddStationBySn import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchAddStationBySn/struct.go b/iSolarCloud/sungro/AppService/batchAddStationBySn/struct.go index c35437e6b..a18369ac9 100644 --- a/iSolarCloud/sungro/AppService/batchAddStationBySn/struct.go +++ b/iSolarCloud/sungro/AppService/batchAddStationBySn/struct.go @@ -1,9 +1,9 @@ package batchAddStationBySn import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchImportSN/data.go b/iSolarCloud/sungro/AppService/batchImportSN/data.go index 0643307cd..26f5a5cd7 100644 --- a/iSolarCloud/sungro/AppService/batchImportSN/data.go +++ b/iSolarCloud/sungro/AppService/batchImportSN/data.go @@ -1,7 +1,7 @@ package batchImportSN import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchImportSN/struct.go b/iSolarCloud/sungro/AppService/batchImportSN/struct.go index b74136c3c..f83cc1d79 100644 --- a/iSolarCloud/sungro/AppService/batchImportSN/struct.go +++ b/iSolarCloud/sungro/AppService/batchImportSN/struct.go @@ -1,9 +1,9 @@ package batchImportSN import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/data.go b/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/data.go index 307e415ea..e37eac930 100644 --- a/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/data.go +++ b/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/data.go @@ -1,7 +1,7 @@ package batchInsertUserAndOrg import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/struct.go b/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/struct.go index f7e3a38c0..0ef283018 100644 --- a/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/struct.go +++ b/iSolarCloud/sungro/AppService/batchInsertUserAndOrg/struct.go @@ -1,9 +1,9 @@ package batchInsertUserAndOrg import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/data.go b/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/data.go index aed98deb7..5a0b5c143 100644 --- a/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/data.go +++ b/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/data.go @@ -1,7 +1,7 @@ package batchModifyDevicesInfoAndPropertis import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/struct.go b/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/struct.go index a388673d0..3793e24f6 100644 --- a/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/struct.go +++ b/iSolarCloud/sungro/AppService/batchModifyDevicesInfoAndPropertis/struct.go @@ -1,9 +1,9 @@ package batchModifyDevicesInfoAndPropertis import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchProcessPlantReport/data.go b/iSolarCloud/sungro/AppService/batchProcessPlantReport/data.go index 4b61b0876..69f49d6ec 100644 --- a/iSolarCloud/sungro/AppService/batchProcessPlantReport/data.go +++ b/iSolarCloud/sungro/AppService/batchProcessPlantReport/data.go @@ -1,7 +1,7 @@ package batchProcessPlantReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchProcessPlantReport/struct.go b/iSolarCloud/sungro/AppService/batchProcessPlantReport/struct.go index 4d201de6e..070ad14a1 100644 --- a/iSolarCloud/sungro/AppService/batchProcessPlantReport/struct.go +++ b/iSolarCloud/sungro/AppService/batchProcessPlantReport/struct.go @@ -1,9 +1,9 @@ package batchProcessPlantReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/data.go b/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/data.go index 4674984d8..7a86c8e12 100644 --- a/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/data.go +++ b/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/data.go @@ -1,7 +1,7 @@ package batchUpdateDeviceSim import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/struct.go b/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/struct.go index 96d239fcf..62f514ee7 100644 --- a/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/struct.go +++ b/iSolarCloud/sungro/AppService/batchUpdateDeviceSim/struct.go @@ -1,9 +1,9 @@ package batchUpdateDeviceSim import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/data.go b/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/data.go index 1f98c0457..f19ad4549 100644 --- a/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/data.go +++ b/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/data.go @@ -1,7 +1,7 @@ package batchUpdateUserIsAgreeGdpr import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/struct.go b/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/struct.go index 057447cd6..7a8e7339a 100644 --- a/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/struct.go +++ b/iSolarCloud/sungro/AppService/batchUpdateUserIsAgreeGdpr/struct.go @@ -1,9 +1,9 @@ package batchUpdateUserIsAgreeGdpr import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/boundMobilePhone/data.go b/iSolarCloud/sungro/AppService/boundMobilePhone/data.go index b45b8cbae..1f86d7f16 100644 --- a/iSolarCloud/sungro/AppService/boundMobilePhone/data.go +++ b/iSolarCloud/sungro/AppService/boundMobilePhone/data.go @@ -1,7 +1,7 @@ package boundMobilePhone import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/boundMobilePhone/struct.go b/iSolarCloud/sungro/AppService/boundMobilePhone/struct.go index d56fdd9e3..3fdf7ac1d 100644 --- a/iSolarCloud/sungro/AppService/boundMobilePhone/struct.go +++ b/iSolarCloud/sungro/AppService/boundMobilePhone/struct.go @@ -1,9 +1,9 @@ package boundMobilePhone import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/boundUserMail/data.go b/iSolarCloud/sungro/AppService/boundUserMail/data.go index 222174eeb..b9bc247a0 100644 --- a/iSolarCloud/sungro/AppService/boundUserMail/data.go +++ b/iSolarCloud/sungro/AppService/boundUserMail/data.go @@ -1,7 +1,7 @@ package boundUserMail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/boundUserMail/struct.go b/iSolarCloud/sungro/AppService/boundUserMail/struct.go index 8fe4b0e1e..3792f4b21 100644 --- a/iSolarCloud/sungro/AppService/boundUserMail/struct.go +++ b/iSolarCloud/sungro/AppService/boundUserMail/struct.go @@ -1,9 +1,9 @@ package boundUserMail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/data.go b/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/data.go index 1e23dcc68..a555f01c6 100644 --- a/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/data.go +++ b/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/data.go @@ -1,7 +1,7 @@ package caculateDeviceInputDiscrete import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/struct.go b/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/struct.go index e5e59dfb6..fe7328349 100644 --- a/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/struct.go +++ b/iSolarCloud/sungro/AppService/caculateDeviceInputDiscrete/struct.go @@ -1,9 +1,9 @@ package caculateDeviceInputDiscrete import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/data.go b/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/data.go index 64c55109f..e721e297c 100644 --- a/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/data.go +++ b/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/data.go @@ -1,7 +1,7 @@ package calculateDeviceDiscrete import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/struct.go b/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/struct.go index 200e8f71b..40a293c2d 100644 --- a/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/struct.go +++ b/iSolarCloud/sungro/AppService/calculateDeviceDiscrete/struct.go @@ -1,9 +1,9 @@ package calculateDeviceDiscrete import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/calculateInitialCompensationData/data.go b/iSolarCloud/sungro/AppService/calculateInitialCompensationData/data.go index 8d13fab61..a81504ca5 100644 --- a/iSolarCloud/sungro/AppService/calculateInitialCompensationData/data.go +++ b/iSolarCloud/sungro/AppService/calculateInitialCompensationData/data.go @@ -1,7 +1,7 @@ package calculateInitialCompensationData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/calculateInitialCompensationData/struct.go b/iSolarCloud/sungro/AppService/calculateInitialCompensationData/struct.go index e49a22ca0..a0606130c 100644 --- a/iSolarCloud/sungro/AppService/calculateInitialCompensationData/struct.go +++ b/iSolarCloud/sungro/AppService/calculateInitialCompensationData/struct.go @@ -1,9 +1,9 @@ package calculateInitialCompensationData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/cancelDeliverMail/data.go b/iSolarCloud/sungro/AppService/cancelDeliverMail/data.go index 6f90f4619..40ad7347f 100644 --- a/iSolarCloud/sungro/AppService/cancelDeliverMail/data.go +++ b/iSolarCloud/sungro/AppService/cancelDeliverMail/data.go @@ -1,7 +1,7 @@ package cancelDeliverMail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/cancelDeliverMail/struct.go b/iSolarCloud/sungro/AppService/cancelDeliverMail/struct.go index 646b7fe60..01ff4651e 100644 --- a/iSolarCloud/sungro/AppService/cancelDeliverMail/struct.go +++ b/iSolarCloud/sungro/AppService/cancelDeliverMail/struct.go @@ -1,9 +1,9 @@ package cancelDeliverMail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/cancelOrderScan/data.go b/iSolarCloud/sungro/AppService/cancelOrderScan/data.go index 46655ee5b..d369dd510 100644 --- a/iSolarCloud/sungro/AppService/cancelOrderScan/data.go +++ b/iSolarCloud/sungro/AppService/cancelOrderScan/data.go @@ -1,7 +1,7 @@ package cancelOrderScan import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/cancelOrderScan/struct.go b/iSolarCloud/sungro/AppService/cancelOrderScan/struct.go index 8f2e9b762..2632b0b24 100644 --- a/iSolarCloud/sungro/AppService/cancelOrderScan/struct.go +++ b/iSolarCloud/sungro/AppService/cancelOrderScan/struct.go @@ -1,9 +1,9 @@ package cancelOrderScan import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/cancelParamSetTask/data.go b/iSolarCloud/sungro/AppService/cancelParamSetTask/data.go index e02de71be..89d2feb4d 100644 --- a/iSolarCloud/sungro/AppService/cancelParamSetTask/data.go +++ b/iSolarCloud/sungro/AppService/cancelParamSetTask/data.go @@ -1,7 +1,7 @@ package cancelParamSetTask import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/cancelParamSetTask/struct.go b/iSolarCloud/sungro/AppService/cancelParamSetTask/struct.go index 5f9950b91..7f845afa1 100644 --- a/iSolarCloud/sungro/AppService/cancelParamSetTask/struct.go +++ b/iSolarCloud/sungro/AppService/cancelParamSetTask/struct.go @@ -1,9 +1,9 @@ package cancelParamSetTask import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/cancelPsSharing/data.go b/iSolarCloud/sungro/AppService/cancelPsSharing/data.go index 54e47e2f6..76c58169b 100644 --- a/iSolarCloud/sungro/AppService/cancelPsSharing/data.go +++ b/iSolarCloud/sungro/AppService/cancelPsSharing/data.go @@ -1,7 +1,7 @@ package cancelPsSharing import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/cancelPsSharing/struct.go b/iSolarCloud/sungro/AppService/cancelPsSharing/struct.go index 73faa933d..03b3e4734 100644 --- a/iSolarCloud/sungro/AppService/cancelPsSharing/struct.go +++ b/iSolarCloud/sungro/AppService/cancelPsSharing/struct.go @@ -1,9 +1,9 @@ package cancelPsSharing import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/cancelRechargeOrder/data.go b/iSolarCloud/sungro/AppService/cancelRechargeOrder/data.go index cc5639341..7fa72281e 100644 --- a/iSolarCloud/sungro/AppService/cancelRechargeOrder/data.go +++ b/iSolarCloud/sungro/AppService/cancelRechargeOrder/data.go @@ -1,7 +1,7 @@ package cancelRechargeOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/cancelRechargeOrder/struct.go b/iSolarCloud/sungro/AppService/cancelRechargeOrder/struct.go index 10b2b60f9..7d70d19e5 100644 --- a/iSolarCloud/sungro/AppService/cancelRechargeOrder/struct.go +++ b/iSolarCloud/sungro/AppService/cancelRechargeOrder/struct.go @@ -1,9 +1,9 @@ package cancelRechargeOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/data.go b/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/data.go index 2b1af7817..5a20667a2 100644 --- a/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/data.go +++ b/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/data.go @@ -1,7 +1,7 @@ package changRechargeOrderToCancel import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/struct.go b/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/struct.go index bc3a3bb65..1e2361709 100644 --- a/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/struct.go +++ b/iSolarCloud/sungro/AppService/changRechargeOrderToCancel/struct.go @@ -1,9 +1,9 @@ package changRechargeOrderToCancel import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/data.go b/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/data.go index a66885be0..cca9a63fb 100644 --- a/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/data.go +++ b/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/data.go @@ -1,7 +1,7 @@ package changeHouseholdUser2Installer import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/struct.go b/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/struct.go index a852169c4..07c719690 100644 --- a/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/struct.go +++ b/iSolarCloud/sungro/AppService/changeHouseholdUser2Installer/struct.go @@ -1,9 +1,9 @@ package changeHouseholdUser2Installer import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/changeRemoteParam/data.go b/iSolarCloud/sungro/AppService/changeRemoteParam/data.go index 8dfa09b84..e4126d788 100644 --- a/iSolarCloud/sungro/AppService/changeRemoteParam/data.go +++ b/iSolarCloud/sungro/AppService/changeRemoteParam/data.go @@ -1,7 +1,7 @@ package changeRemoteParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/changeRemoteParam/struct.go b/iSolarCloud/sungro/AppService/changeRemoteParam/struct.go index 7b191e4a9..9d4544bb3 100644 --- a/iSolarCloud/sungro/AppService/changeRemoteParam/struct.go +++ b/iSolarCloud/sungro/AppService/changeRemoteParam/struct.go @@ -1,9 +1,9 @@ package changeRemoteParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkDealerOrgCode/data.go b/iSolarCloud/sungro/AppService/checkDealerOrgCode/data.go index b79035ef7..d9cdaec2d 100644 --- a/iSolarCloud/sungro/AppService/checkDealerOrgCode/data.go +++ b/iSolarCloud/sungro/AppService/checkDealerOrgCode/data.go @@ -1,7 +1,7 @@ package checkDealerOrgCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkDealerOrgCode/struct.go b/iSolarCloud/sungro/AppService/checkDealerOrgCode/struct.go index 582cdade5..5f9f931d6 100644 --- a/iSolarCloud/sungro/AppService/checkDealerOrgCode/struct.go +++ b/iSolarCloud/sungro/AppService/checkDealerOrgCode/struct.go @@ -1,9 +1,9 @@ package checkDealerOrgCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/data.go b/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/data.go index 48c5a76ad..99868ae3f 100644 --- a/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/data.go +++ b/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/data.go @@ -1,7 +1,7 @@ package checkDevSnIsBelongsToUser import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/struct.go b/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/struct.go index de337daec..ce2d94ba4 100644 --- a/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/struct.go +++ b/iSolarCloud/sungro/AppService/checkDevSnIsBelongsToUser/struct.go @@ -1,9 +1,9 @@ package checkDevSnIsBelongsToUser import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkInverterResult/data.go b/iSolarCloud/sungro/AppService/checkInverterResult/data.go index 804566399..d1fe8f55a 100644 --- a/iSolarCloud/sungro/AppService/checkInverterResult/data.go +++ b/iSolarCloud/sungro/AppService/checkInverterResult/data.go @@ -1,7 +1,7 @@ package checkInverterResult import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkInverterResult/struct.go b/iSolarCloud/sungro/AppService/checkInverterResult/struct.go index c90489292..065e5059c 100644 --- a/iSolarCloud/sungro/AppService/checkInverterResult/struct.go +++ b/iSolarCloud/sungro/AppService/checkInverterResult/struct.go @@ -1,9 +1,9 @@ package checkInverterResult import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/data.go b/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/data.go index 127149746..6b243b507 100644 --- a/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/data.go +++ b/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/data.go @@ -1,7 +1,7 @@ package checkIsCanDoParamSet import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/struct.go b/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/struct.go index d16008adc..690f8f90c 100644 --- a/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/struct.go +++ b/iSolarCloud/sungro/AppService/checkIsCanDoParamSet/struct.go @@ -1,9 +1,9 @@ package checkIsCanDoParamSet import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkIsIvScan/data.go b/iSolarCloud/sungro/AppService/checkIsIvScan/data.go index 3188482a8..da2c6373e 100644 --- a/iSolarCloud/sungro/AppService/checkIsIvScan/data.go +++ b/iSolarCloud/sungro/AppService/checkIsIvScan/data.go @@ -1,7 +1,7 @@ package checkIsIvScan import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkIsIvScan/struct.go b/iSolarCloud/sungro/AppService/checkIsIvScan/struct.go index 0bffdf7e6..77f45c609 100644 --- a/iSolarCloud/sungro/AppService/checkIsIvScan/struct.go +++ b/iSolarCloud/sungro/AppService/checkIsIvScan/struct.go @@ -1,9 +1,9 @@ package checkIsIvScan import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkOssObjectExist/data.go b/iSolarCloud/sungro/AppService/checkOssObjectExist/data.go index 93189731d..1b8ae1b26 100644 --- a/iSolarCloud/sungro/AppService/checkOssObjectExist/data.go +++ b/iSolarCloud/sungro/AppService/checkOssObjectExist/data.go @@ -1,7 +1,7 @@ package checkOssObjectExist import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkOssObjectExist/struct.go b/iSolarCloud/sungro/AppService/checkOssObjectExist/struct.go index 0b42c1001..1986ccd40 100644 --- a/iSolarCloud/sungro/AppService/checkOssObjectExist/struct.go +++ b/iSolarCloud/sungro/AppService/checkOssObjectExist/struct.go @@ -1,9 +1,9 @@ package checkOssObjectExist import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkServiceIsConnect/data.go b/iSolarCloud/sungro/AppService/checkServiceIsConnect/data.go index 668e1776b..b69d736e6 100644 --- a/iSolarCloud/sungro/AppService/checkServiceIsConnect/data.go +++ b/iSolarCloud/sungro/AppService/checkServiceIsConnect/data.go @@ -1,7 +1,7 @@ package checkServiceIsConnect import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkServiceIsConnect/struct.go b/iSolarCloud/sungro/AppService/checkServiceIsConnect/struct.go index 5ead2cda9..91ba36eaa 100644 --- a/iSolarCloud/sungro/AppService/checkServiceIsConnect/struct.go +++ b/iSolarCloud/sungro/AppService/checkServiceIsConnect/struct.go @@ -1,9 +1,9 @@ package checkServiceIsConnect import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkTechnicalParameters/data.go b/iSolarCloud/sungro/AppService/checkTechnicalParameters/data.go index 1942340f4..06d46187e 100644 --- a/iSolarCloud/sungro/AppService/checkTechnicalParameters/data.go +++ b/iSolarCloud/sungro/AppService/checkTechnicalParameters/data.go @@ -1,7 +1,7 @@ package checkTechnicalParameters import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkTechnicalParameters/struct.go b/iSolarCloud/sungro/AppService/checkTechnicalParameters/struct.go index 84bd4c3dc..1b64db3bc 100644 --- a/iSolarCloud/sungro/AppService/checkTechnicalParameters/struct.go +++ b/iSolarCloud/sungro/AppService/checkTechnicalParameters/struct.go @@ -1,9 +1,9 @@ package checkTechnicalParameters import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUnitStatus/data.go b/iSolarCloud/sungro/AppService/checkUnitStatus/data.go index e41e1f678..a075bf147 100644 --- a/iSolarCloud/sungro/AppService/checkUnitStatus/data.go +++ b/iSolarCloud/sungro/AppService/checkUnitStatus/data.go @@ -1,7 +1,7 @@ package checkUnitStatus import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUnitStatus/struct.go b/iSolarCloud/sungro/AppService/checkUnitStatus/struct.go index 572a4be52..fbe7567a4 100644 --- a/iSolarCloud/sungro/AppService/checkUnitStatus/struct.go +++ b/iSolarCloud/sungro/AppService/checkUnitStatus/struct.go @@ -1,9 +1,9 @@ package checkUnitStatus import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/data.go b/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/data.go index 6130f4c06..20396782a 100644 --- a/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/data.go +++ b/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/data.go @@ -1,7 +1,7 @@ package checkUpRechargeDevicePaying import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/struct.go b/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/struct.go index 821fa7907..6917d3007 100644 --- a/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/struct.go +++ b/iSolarCloud/sungro/AppService/checkUpRechargeDevicePaying/struct.go @@ -1,9 +1,9 @@ package checkUpRechargeDevicePaying import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUserAccountUnique/data.go b/iSolarCloud/sungro/AppService/checkUserAccountUnique/data.go index 02132c4d1..170a989fa 100644 --- a/iSolarCloud/sungro/AppService/checkUserAccountUnique/data.go +++ b/iSolarCloud/sungro/AppService/checkUserAccountUnique/data.go @@ -1,7 +1,7 @@ package checkUserAccountUnique import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUserAccountUnique/struct.go b/iSolarCloud/sungro/AppService/checkUserAccountUnique/struct.go index d8afb5690..cfabd6509 100644 --- a/iSolarCloud/sungro/AppService/checkUserAccountUnique/struct.go +++ b/iSolarCloud/sungro/AppService/checkUserAccountUnique/struct.go @@ -1,9 +1,9 @@ package checkUserAccountUnique import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/data.go b/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/data.go index 8ce21db01..8183729f5 100644 --- a/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/data.go +++ b/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/data.go @@ -1,7 +1,7 @@ package checkUserAccountUniqueAll import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/struct.go b/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/struct.go index 581e55a4f..45d7c97ce 100644 --- a/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/struct.go +++ b/iSolarCloud/sungro/AppService/checkUserAccountUniqueAll/struct.go @@ -1,9 +1,9 @@ package checkUserAccountUniqueAll import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUserInfoUnique/data.go b/iSolarCloud/sungro/AppService/checkUserInfoUnique/data.go index f62a2535f..34e870364 100644 --- a/iSolarCloud/sungro/AppService/checkUserInfoUnique/data.go +++ b/iSolarCloud/sungro/AppService/checkUserInfoUnique/data.go @@ -1,7 +1,7 @@ package checkUserInfoUnique import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUserInfoUnique/struct.go b/iSolarCloud/sungro/AppService/checkUserInfoUnique/struct.go index e1f0e1c64..89bbcfaa5 100644 --- a/iSolarCloud/sungro/AppService/checkUserInfoUnique/struct.go +++ b/iSolarCloud/sungro/AppService/checkUserInfoUnique/struct.go @@ -1,9 +1,9 @@ package checkUserInfoUnique import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUserIsExist/data.go b/iSolarCloud/sungro/AppService/checkUserIsExist/data.go index efaeb00fb..a7581e625 100644 --- a/iSolarCloud/sungro/AppService/checkUserIsExist/data.go +++ b/iSolarCloud/sungro/AppService/checkUserIsExist/data.go @@ -1,7 +1,7 @@ package checkUserIsExist import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUserIsExist/struct.go b/iSolarCloud/sungro/AppService/checkUserIsExist/struct.go index bbb964b5a..374c2f40e 100644 --- a/iSolarCloud/sungro/AppService/checkUserIsExist/struct.go +++ b/iSolarCloud/sungro/AppService/checkUserIsExist/struct.go @@ -1,9 +1,9 @@ package checkUserIsExist import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUserListIsExist/data.go b/iSolarCloud/sungro/AppService/checkUserListIsExist/data.go index feaba880d..a4019804b 100644 --- a/iSolarCloud/sungro/AppService/checkUserListIsExist/data.go +++ b/iSolarCloud/sungro/AppService/checkUserListIsExist/data.go @@ -1,7 +1,7 @@ package checkUserListIsExist import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUserListIsExist/struct.go b/iSolarCloud/sungro/AppService/checkUserListIsExist/struct.go index 6999bbe48..0805b4ddb 100644 --- a/iSolarCloud/sungro/AppService/checkUserListIsExist/struct.go +++ b/iSolarCloud/sungro/AppService/checkUserListIsExist/struct.go @@ -1,9 +1,9 @@ package checkUserListIsExist import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/checkUserPassword/data.go b/iSolarCloud/sungro/AppService/checkUserPassword/data.go index 47a35ef38..add098d13 100644 --- a/iSolarCloud/sungro/AppService/checkUserPassword/data.go +++ b/iSolarCloud/sungro/AppService/checkUserPassword/data.go @@ -1,7 +1,7 @@ package checkUserPassword import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/checkUserPassword/struct.go b/iSolarCloud/sungro/AppService/checkUserPassword/struct.go index 87d757dcc..0c6affa6d 100644 --- a/iSolarCloud/sungro/AppService/checkUserPassword/struct.go +++ b/iSolarCloud/sungro/AppService/checkUserPassword/struct.go @@ -1,9 +1,9 @@ package checkUserPassword import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/cloudDeploymentRecord/data.go b/iSolarCloud/sungro/AppService/cloudDeploymentRecord/data.go index f42b07c29..3dd2b22c1 100644 --- a/iSolarCloud/sungro/AppService/cloudDeploymentRecord/data.go +++ b/iSolarCloud/sungro/AppService/cloudDeploymentRecord/data.go @@ -1,7 +1,7 @@ package cloudDeploymentRecord import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/cloudDeploymentRecord/struct.go b/iSolarCloud/sungro/AppService/cloudDeploymentRecord/struct.go index 49e609f50..394a5fc60 100644 --- a/iSolarCloud/sungro/AppService/cloudDeploymentRecord/struct.go +++ b/iSolarCloud/sungro/AppService/cloudDeploymentRecord/struct.go @@ -1,9 +1,9 @@ package cloudDeploymentRecord import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/comfirmParamModel/data.go b/iSolarCloud/sungro/AppService/comfirmParamModel/data.go index bb8b08e01..b4453e614 100644 --- a/iSolarCloud/sungro/AppService/comfirmParamModel/data.go +++ b/iSolarCloud/sungro/AppService/comfirmParamModel/data.go @@ -1,7 +1,7 @@ package comfirmParamModel import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/comfirmParamModel/struct.go b/iSolarCloud/sungro/AppService/comfirmParamModel/struct.go index 66fe940c7..a9bf26833 100644 --- a/iSolarCloud/sungro/AppService/comfirmParamModel/struct.go +++ b/iSolarCloud/sungro/AppService/comfirmParamModel/struct.go @@ -1,9 +1,9 @@ package comfirmParamModel import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/communicationModuleDetail/data.go b/iSolarCloud/sungro/AppService/communicationModuleDetail/data.go index 36cbf891c..0c7e75a16 100644 --- a/iSolarCloud/sungro/AppService/communicationModuleDetail/data.go +++ b/iSolarCloud/sungro/AppService/communicationModuleDetail/data.go @@ -1,7 +1,7 @@ package communicationModuleDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/communicationModuleDetail/struct.go b/iSolarCloud/sungro/AppService/communicationModuleDetail/struct.go index 45d2a5fb8..1d25338d2 100644 --- a/iSolarCloud/sungro/AppService/communicationModuleDetail/struct.go +++ b/iSolarCloud/sungro/AppService/communicationModuleDetail/struct.go @@ -1,9 +1,9 @@ package communicationModuleDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/compareValidateCode/data.go b/iSolarCloud/sungro/AppService/compareValidateCode/data.go index 1ff782a77..42ba3441c 100644 --- a/iSolarCloud/sungro/AppService/compareValidateCode/data.go +++ b/iSolarCloud/sungro/AppService/compareValidateCode/data.go @@ -1,7 +1,7 @@ package compareValidateCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/compareValidateCode/struct.go b/iSolarCloud/sungro/AppService/compareValidateCode/struct.go index c9d29f45c..b01046414 100644 --- a/iSolarCloud/sungro/AppService/compareValidateCode/struct.go +++ b/iSolarCloud/sungro/AppService/compareValidateCode/struct.go @@ -1,9 +1,9 @@ package compareValidateCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/componentInfo2Cloud/data.go b/iSolarCloud/sungro/AppService/componentInfo2Cloud/data.go index fe27d648e..23c2a6fa0 100644 --- a/iSolarCloud/sungro/AppService/componentInfo2Cloud/data.go +++ b/iSolarCloud/sungro/AppService/componentInfo2Cloud/data.go @@ -1,7 +1,7 @@ package componentInfo2Cloud import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/componentInfo2Cloud/struct.go b/iSolarCloud/sungro/AppService/componentInfo2Cloud/struct.go index fda8f9592..52686b637 100644 --- a/iSolarCloud/sungro/AppService/componentInfo2Cloud/struct.go +++ b/iSolarCloud/sungro/AppService/componentInfo2Cloud/struct.go @@ -1,9 +1,9 @@ package componentInfo2Cloud import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/confirmFault/data.go b/iSolarCloud/sungro/AppService/confirmFault/data.go index 8f19632ca..4566a55f9 100644 --- a/iSolarCloud/sungro/AppService/confirmFault/data.go +++ b/iSolarCloud/sungro/AppService/confirmFault/data.go @@ -1,7 +1,7 @@ package confirmFault import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/confirmFault/struct.go b/iSolarCloud/sungro/AppService/confirmFault/struct.go index 916c239d5..30a3048ed 100644 --- a/iSolarCloud/sungro/AppService/confirmFault/struct.go +++ b/iSolarCloud/sungro/AppService/confirmFault/struct.go @@ -1,9 +1,9 @@ package confirmFault import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/confirmIvFault/data.go b/iSolarCloud/sungro/AppService/confirmIvFault/data.go index df9ee2272..c1899d254 100644 --- a/iSolarCloud/sungro/AppService/confirmIvFault/data.go +++ b/iSolarCloud/sungro/AppService/confirmIvFault/data.go @@ -1,7 +1,7 @@ package confirmIvFault import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/confirmIvFault/struct.go b/iSolarCloud/sungro/AppService/confirmIvFault/struct.go index e3624f69a..62a0cef36 100644 --- a/iSolarCloud/sungro/AppService/confirmIvFault/struct.go +++ b/iSolarCloud/sungro/AppService/confirmIvFault/struct.go @@ -1,9 +1,9 @@ package confirmIvFault import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/confirmReportConfig/data.go b/iSolarCloud/sungro/AppService/confirmReportConfig/data.go index 30443332f..19216c9fd 100644 --- a/iSolarCloud/sungro/AppService/confirmReportConfig/data.go +++ b/iSolarCloud/sungro/AppService/confirmReportConfig/data.go @@ -1,7 +1,7 @@ package confirmReportConfig import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/confirmReportConfig/struct.go b/iSolarCloud/sungro/AppService/confirmReportConfig/struct.go index d79a73168..f6291b60e 100644 --- a/iSolarCloud/sungro/AppService/confirmReportConfig/struct.go +++ b/iSolarCloud/sungro/AppService/confirmReportConfig/struct.go @@ -1,9 +1,9 @@ package confirmReportConfig import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/createAppkeyInfo/data.go b/iSolarCloud/sungro/AppService/createAppkeyInfo/data.go index 4a810a1a0..187ab9098 100644 --- a/iSolarCloud/sungro/AppService/createAppkeyInfo/data.go +++ b/iSolarCloud/sungro/AppService/createAppkeyInfo/data.go @@ -1,7 +1,7 @@ package createAppkeyInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/createAppkeyInfo/struct.go b/iSolarCloud/sungro/AppService/createAppkeyInfo/struct.go index b3b472888..c67779b6b 100644 --- a/iSolarCloud/sungro/AppService/createAppkeyInfo/struct.go +++ b/iSolarCloud/sungro/AppService/createAppkeyInfo/struct.go @@ -1,9 +1,9 @@ package createAppkeyInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/createRenewInvoice/data.go b/iSolarCloud/sungro/AppService/createRenewInvoice/data.go index 9ec50303b..17d8a6b04 100644 --- a/iSolarCloud/sungro/AppService/createRenewInvoice/data.go +++ b/iSolarCloud/sungro/AppService/createRenewInvoice/data.go @@ -1,7 +1,7 @@ package createRenewInvoice import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/createRenewInvoice/struct.go b/iSolarCloud/sungro/AppService/createRenewInvoice/struct.go index ad28b9053..1df3c9779 100644 --- a/iSolarCloud/sungro/AppService/createRenewInvoice/struct.go +++ b/iSolarCloud/sungro/AppService/createRenewInvoice/struct.go @@ -1,9 +1,9 @@ package createRenewInvoice import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealCommandReply/data.go b/iSolarCloud/sungro/AppService/dealCommandReply/data.go index ac704c325..d2a0ca96e 100644 --- a/iSolarCloud/sungro/AppService/dealCommandReply/data.go +++ b/iSolarCloud/sungro/AppService/dealCommandReply/data.go @@ -1,7 +1,7 @@ package dealCommandReply import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealCommandReply/struct.go b/iSolarCloud/sungro/AppService/dealCommandReply/struct.go index 636c05312..d364d0d8e 100644 --- a/iSolarCloud/sungro/AppService/dealCommandReply/struct.go +++ b/iSolarCloud/sungro/AppService/dealCommandReply/struct.go @@ -1,9 +1,9 @@ package dealCommandReply import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/data.go b/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/data.go index 563aa42dc..df60894ed 100644 --- a/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/data.go +++ b/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/data.go @@ -1,7 +1,7 @@ package dealDeletePsFailPsDelete import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/struct.go b/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/struct.go index 8491d52ee..eb5227735 100644 --- a/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/struct.go +++ b/iSolarCloud/sungro/AppService/dealDeletePsFailPsDelete/struct.go @@ -1,9 +1,9 @@ package dealDeletePsFailPsDelete import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/data.go b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/data.go index f086396fc..dabd80c09 100644 --- a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/data.go +++ b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/data.go @@ -1,7 +1,7 @@ package dealFailRemoteUpgradeSubTasks import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/struct.go b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/struct.go index 8ea68e40f..f0f6a9de7 100644 --- a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/struct.go +++ b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeSubTasks/struct.go @@ -1,9 +1,9 @@ package dealFailRemoteUpgradeSubTasks import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/data.go b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/data.go index 12ebb36e3..fce678178 100644 --- a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/data.go +++ b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/data.go @@ -1,7 +1,7 @@ package dealFailRemoteUpgradeTasks import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/struct.go b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/struct.go index d20fc129f..c6fe17bdd 100644 --- a/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/struct.go +++ b/iSolarCloud/sungro/AppService/dealFailRemoteUpgradeTasks/struct.go @@ -1,9 +1,9 @@ package dealFailRemoteUpgradeTasks import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealFaultOrder/data.go b/iSolarCloud/sungro/AppService/dealFaultOrder/data.go index c9410001f..6da06d08d 100644 --- a/iSolarCloud/sungro/AppService/dealFaultOrder/data.go +++ b/iSolarCloud/sungro/AppService/dealFaultOrder/data.go @@ -1,7 +1,7 @@ package dealFaultOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealFaultOrder/struct.go b/iSolarCloud/sungro/AppService/dealFaultOrder/struct.go index 214cdb8b9..335865e8a 100644 --- a/iSolarCloud/sungro/AppService/dealFaultOrder/struct.go +++ b/iSolarCloud/sungro/AppService/dealFaultOrder/struct.go @@ -1,9 +1,9 @@ package dealFaultOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/data.go b/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/data.go index 1b7eb7fb2..39df7bfe3 100644 --- a/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/data.go +++ b/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/data.go @@ -1,7 +1,7 @@ package dealGroupStringDisableOrEnable import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/struct.go b/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/struct.go index 3cbc468a2..6640ae563 100644 --- a/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/struct.go +++ b/iSolarCloud/sungro/AppService/dealGroupStringDisableOrEnable/struct.go @@ -1,9 +1,9 @@ package dealGroupStringDisableOrEnable import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/data.go b/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/data.go index a16590a68..f3cb19474 100644 --- a/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/data.go +++ b/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/data.go @@ -1,7 +1,7 @@ package dealNumberOfServiceCalls2Mysql import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/struct.go b/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/struct.go index 59688b330..9a00da55b 100644 --- a/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/struct.go +++ b/iSolarCloud/sungro/AppService/dealNumberOfServiceCalls2Mysql/struct.go @@ -1,9 +1,9 @@ package dealNumberOfServiceCalls2Mysql import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/data.go b/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/data.go index 16289ba1e..e5b3a85e0 100644 --- a/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/data.go +++ b/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/data.go @@ -1,7 +1,7 @@ package dealParamSettingAfterComplete import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/struct.go b/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/struct.go index 4b8fe4d7f..7ceb80667 100644 --- a/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/struct.go +++ b/iSolarCloud/sungro/AppService/dealParamSettingAfterComplete/struct.go @@ -1,9 +1,9 @@ package dealParamSettingAfterComplete import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealPsDataSupplement/data.go b/iSolarCloud/sungro/AppService/dealPsDataSupplement/data.go index cd1e9a51a..cdd4342b1 100644 --- a/iSolarCloud/sungro/AppService/dealPsDataSupplement/data.go +++ b/iSolarCloud/sungro/AppService/dealPsDataSupplement/data.go @@ -1,7 +1,7 @@ package dealPsDataSupplement import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealPsDataSupplement/struct.go b/iSolarCloud/sungro/AppService/dealPsDataSupplement/struct.go index 3888b8520..48f7cad0d 100644 --- a/iSolarCloud/sungro/AppService/dealPsDataSupplement/struct.go +++ b/iSolarCloud/sungro/AppService/dealPsDataSupplement/struct.go @@ -1,9 +1,9 @@ package dealPsDataSupplement import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealPsReportEmailSend/data.go b/iSolarCloud/sungro/AppService/dealPsReportEmailSend/data.go index c0c66936b..4c1ca651c 100644 --- a/iSolarCloud/sungro/AppService/dealPsReportEmailSend/data.go +++ b/iSolarCloud/sungro/AppService/dealPsReportEmailSend/data.go @@ -1,7 +1,7 @@ package dealPsReportEmailSend import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealPsReportEmailSend/struct.go b/iSolarCloud/sungro/AppService/dealPsReportEmailSend/struct.go index cfc1ac139..03bd35fe6 100644 --- a/iSolarCloud/sungro/AppService/dealPsReportEmailSend/struct.go +++ b/iSolarCloud/sungro/AppService/dealPsReportEmailSend/struct.go @@ -1,9 +1,9 @@ package dealPsReportEmailSend import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealRemoteUpgrade/data.go b/iSolarCloud/sungro/AppService/dealRemoteUpgrade/data.go index 77492efa2..0338df3c3 100644 --- a/iSolarCloud/sungro/AppService/dealRemoteUpgrade/data.go +++ b/iSolarCloud/sungro/AppService/dealRemoteUpgrade/data.go @@ -1,7 +1,7 @@ package dealRemoteUpgrade import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealRemoteUpgrade/struct.go b/iSolarCloud/sungro/AppService/dealRemoteUpgrade/struct.go index 032cab1e9..bf14241d5 100644 --- a/iSolarCloud/sungro/AppService/dealRemoteUpgrade/struct.go +++ b/iSolarCloud/sungro/AppService/dealRemoteUpgrade/struct.go @@ -1,9 +1,9 @@ package dealRemoteUpgrade import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/data.go b/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/data.go index 22b43439b..22ab32e56 100644 --- a/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/data.go +++ b/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/data.go @@ -1,7 +1,7 @@ package dealSnElectrifyCheck import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/struct.go b/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/struct.go index 9bedcda6a..b794d90ee 100644 --- a/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/struct.go +++ b/iSolarCloud/sungro/AppService/dealSnElectrifyCheck/struct.go @@ -1,9 +1,9 @@ package dealSnElectrifyCheck import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/data.go b/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/data.go index 0b5f104c6..5d6104dcc 100644 --- a/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/data.go +++ b/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/data.go @@ -1,7 +1,7 @@ package dealSysDeviceSimFlowInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/struct.go b/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/struct.go index b283bbdce..83bd19657 100644 --- a/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/struct.go +++ b/iSolarCloud/sungro/AppService/dealSysDeviceSimFlowInfo/struct.go @@ -1,9 +1,9 @@ package dealSysDeviceSimFlowInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/data.go b/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/data.go index adeaeb224..6b180ba8b 100644 --- a/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/data.go +++ b/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/data.go @@ -1,7 +1,7 @@ package dealSysDeviceSimInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/struct.go b/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/struct.go index 74a063990..aa8cc1133 100644 --- a/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/struct.go +++ b/iSolarCloud/sungro/AppService/dealSysDeviceSimInfo/struct.go @@ -1,9 +1,9 @@ package dealSysDeviceSimInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/data.go b/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/data.go index c0c703c1f..ea17194c7 100644 --- a/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/data.go +++ b/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/data.go @@ -1,7 +1,7 @@ package definiteTimeDealSnExpRemind import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/struct.go b/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/struct.go index cc481dee2..6a55ae926 100644 --- a/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/struct.go +++ b/iSolarCloud/sungro/AppService/definiteTimeDealSnExpRemind/struct.go @@ -1,9 +1,9 @@ package definiteTimeDealSnExpRemind import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/data.go b/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/data.go index 8152c4aff..5f5669256 100644 --- a/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/data.go +++ b/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/data.go @@ -1,7 +1,7 @@ package definiteTimeDealSnStatus import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/struct.go b/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/struct.go index 4dba6afee..32ce63750 100644 --- a/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/struct.go +++ b/iSolarCloud/sungro/AppService/definiteTimeDealSnStatus/struct.go @@ -1,9 +1,9 @@ package definiteTimeDealSnStatus import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/delDeviceRepair/data.go b/iSolarCloud/sungro/AppService/delDeviceRepair/data.go index 5a9a138a0..dc01d1813 100644 --- a/iSolarCloud/sungro/AppService/delDeviceRepair/data.go +++ b/iSolarCloud/sungro/AppService/delDeviceRepair/data.go @@ -1,7 +1,7 @@ package delDeviceRepair import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/delDeviceRepair/struct.go b/iSolarCloud/sungro/AppService/delDeviceRepair/struct.go index 6ae66c5df..29b12434a 100644 --- a/iSolarCloud/sungro/AppService/delDeviceRepair/struct.go +++ b/iSolarCloud/sungro/AppService/delDeviceRepair/struct.go @@ -1,9 +1,9 @@ package delDeviceRepair import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/delOperRule/data.go b/iSolarCloud/sungro/AppService/delOperRule/data.go index 1f2b91d3b..9ae5a2a03 100644 --- a/iSolarCloud/sungro/AppService/delOperRule/data.go +++ b/iSolarCloud/sungro/AppService/delOperRule/data.go @@ -1,7 +1,7 @@ package delOperRule import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/delOperRule/struct.go b/iSolarCloud/sungro/AppService/delOperRule/struct.go index 308f1f286..2fa5717a8 100644 --- a/iSolarCloud/sungro/AppService/delOperRule/struct.go +++ b/iSolarCloud/sungro/AppService/delOperRule/struct.go @@ -1,9 +1,9 @@ package delOperRule import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/data.go b/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/data.go index ee24dc7de..e5a72eee8 100644 --- a/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/data.go +++ b/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/data.go @@ -1,7 +1,7 @@ package delayCallApiResidueTimes import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/struct.go b/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/struct.go index 828d3e6a1..734792d8c 100644 --- a/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/struct.go +++ b/iSolarCloud/sungro/AppService/delayCallApiResidueTimes/struct.go @@ -1,9 +1,9 @@ package delayCallApiResidueTimes import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteComponent/data.go b/iSolarCloud/sungro/AppService/deleteComponent/data.go index dec5742c0..2617f15b7 100644 --- a/iSolarCloud/sungro/AppService/deleteComponent/data.go +++ b/iSolarCloud/sungro/AppService/deleteComponent/data.go @@ -1,7 +1,7 @@ package deleteComponent import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteComponent/struct.go b/iSolarCloud/sungro/AppService/deleteComponent/struct.go index 3aac186ad..3ea57c4e4 100644 --- a/iSolarCloud/sungro/AppService/deleteComponent/struct.go +++ b/iSolarCloud/sungro/AppService/deleteComponent/struct.go @@ -1,9 +1,9 @@ package deleteComponent import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteCustomerEmployee/data.go b/iSolarCloud/sungro/AppService/deleteCustomerEmployee/data.go index 53105bfb1..e1f813efb 100644 --- a/iSolarCloud/sungro/AppService/deleteCustomerEmployee/data.go +++ b/iSolarCloud/sungro/AppService/deleteCustomerEmployee/data.go @@ -1,7 +1,7 @@ package deleteCustomerEmployee import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteCustomerEmployee/struct.go b/iSolarCloud/sungro/AppService/deleteCustomerEmployee/struct.go index 8d4525920..a50b3d20b 100644 --- a/iSolarCloud/sungro/AppService/deleteCustomerEmployee/struct.go +++ b/iSolarCloud/sungro/AppService/deleteCustomerEmployee/struct.go @@ -1,9 +1,9 @@ package deleteCustomerEmployee import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteDeviceAccount/data.go b/iSolarCloud/sungro/AppService/deleteDeviceAccount/data.go index bb6dd1a41..b4e7a213e 100644 --- a/iSolarCloud/sungro/AppService/deleteDeviceAccount/data.go +++ b/iSolarCloud/sungro/AppService/deleteDeviceAccount/data.go @@ -1,7 +1,7 @@ package deleteDeviceAccount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteDeviceAccount/struct.go b/iSolarCloud/sungro/AppService/deleteDeviceAccount/struct.go index 85a881d7a..e9578f5ba 100644 --- a/iSolarCloud/sungro/AppService/deleteDeviceAccount/struct.go +++ b/iSolarCloud/sungro/AppService/deleteDeviceAccount/struct.go @@ -1,9 +1,9 @@ package deleteDeviceAccount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteDeviceSimById/data.go b/iSolarCloud/sungro/AppService/deleteDeviceSimById/data.go index a7b1d8955..5d24a61ce 100644 --- a/iSolarCloud/sungro/AppService/deleteDeviceSimById/data.go +++ b/iSolarCloud/sungro/AppService/deleteDeviceSimById/data.go @@ -1,7 +1,7 @@ package deleteDeviceSimById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteDeviceSimById/struct.go b/iSolarCloud/sungro/AppService/deleteDeviceSimById/struct.go index e6f12115c..b41fcbeb1 100644 --- a/iSolarCloud/sungro/AppService/deleteDeviceSimById/struct.go +++ b/iSolarCloud/sungro/AppService/deleteDeviceSimById/struct.go @@ -1,9 +1,9 @@ package deleteDeviceSimById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/data.go b/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/data.go index 1486ff06f..2f1f1bb52 100644 --- a/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/data.go +++ b/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/data.go @@ -1,7 +1,7 @@ package deleteElectricitySettlementData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/struct.go b/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/struct.go index c91596560..857466dbd 100644 --- a/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/struct.go +++ b/iSolarCloud/sungro/AppService/deleteElectricitySettlementData/struct.go @@ -1,9 +1,9 @@ package deleteElectricitySettlementData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteFaultPlan/data.go b/iSolarCloud/sungro/AppService/deleteFaultPlan/data.go index 4015b440e..0acfdeb2a 100644 --- a/iSolarCloud/sungro/AppService/deleteFaultPlan/data.go +++ b/iSolarCloud/sungro/AppService/deleteFaultPlan/data.go @@ -1,7 +1,7 @@ package deleteFaultPlan import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteFaultPlan/struct.go b/iSolarCloud/sungro/AppService/deleteFaultPlan/struct.go index 969636eb7..aa4d7f480 100644 --- a/iSolarCloud/sungro/AppService/deleteFaultPlan/struct.go +++ b/iSolarCloud/sungro/AppService/deleteFaultPlan/struct.go @@ -1,9 +1,9 @@ package deleteFaultPlan import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteFirmwareFiles/data.go b/iSolarCloud/sungro/AppService/deleteFirmwareFiles/data.go index 6649b34ff..8469069ff 100644 --- a/iSolarCloud/sungro/AppService/deleteFirmwareFiles/data.go +++ b/iSolarCloud/sungro/AppService/deleteFirmwareFiles/data.go @@ -1,7 +1,7 @@ package deleteFirmwareFiles import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteFirmwareFiles/struct.go b/iSolarCloud/sungro/AppService/deleteFirmwareFiles/struct.go index 60949eaef..36abbcd2d 100644 --- a/iSolarCloud/sungro/AppService/deleteFirmwareFiles/struct.go +++ b/iSolarCloud/sungro/AppService/deleteFirmwareFiles/struct.go @@ -1,9 +1,9 @@ package deleteFirmwareFiles import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/data.go b/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/data.go index b60a32e3e..1f5bd33bf 100644 --- a/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/data.go +++ b/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/data.go @@ -1,7 +1,7 @@ package deleteHouseholdEvaluation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/struct.go b/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/struct.go index c0a959111..8877c61e7 100644 --- a/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/struct.go +++ b/iSolarCloud/sungro/AppService/deleteHouseholdEvaluation/struct.go @@ -1,9 +1,9 @@ package deleteHouseholdEvaluation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/data.go b/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/data.go index 0bf0945b9..26ea25779 100644 --- a/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/data.go +++ b/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/data.go @@ -1,7 +1,7 @@ package deleteHouseholdLeaveMessage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/struct.go b/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/struct.go index 8c28b434e..f301114ca 100644 --- a/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/struct.go +++ b/iSolarCloud/sungro/AppService/deleteHouseholdLeaveMessage/struct.go @@ -1,9 +1,9 @@ package deleteHouseholdLeaveMessage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/data.go b/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/data.go index c9e311b9b..3dbd43423 100644 --- a/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/data.go +++ b/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/data.go @@ -1,7 +1,7 @@ package deleteHouseholdWorkOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/struct.go b/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/struct.go index 63cde71d2..56a2963ad 100644 --- a/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/struct.go +++ b/iSolarCloud/sungro/AppService/deleteHouseholdWorkOrder/struct.go @@ -1,9 +1,9 @@ package deleteHouseholdWorkOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/data.go b/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/data.go index 898128367..2190d596e 100644 --- a/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/data.go +++ b/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/data.go @@ -1,7 +1,7 @@ package deleteInverterSnInChnnl import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/struct.go b/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/struct.go index a16e05422..580e98c0a 100644 --- a/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/struct.go +++ b/iSolarCloud/sungro/AppService/deleteInverterSnInChnnl/struct.go @@ -1,9 +1,9 @@ package deleteInverterSnInChnnl import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteModuleLog/data.go b/iSolarCloud/sungro/AppService/deleteModuleLog/data.go index 8d92c148c..c3de291e6 100644 --- a/iSolarCloud/sungro/AppService/deleteModuleLog/data.go +++ b/iSolarCloud/sungro/AppService/deleteModuleLog/data.go @@ -1,7 +1,7 @@ package deleteModuleLog import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteModuleLog/struct.go b/iSolarCloud/sungro/AppService/deleteModuleLog/struct.go index 1ca31f3fa..08568a558 100644 --- a/iSolarCloud/sungro/AppService/deleteModuleLog/struct.go +++ b/iSolarCloud/sungro/AppService/deleteModuleLog/struct.go @@ -1,9 +1,9 @@ package deleteModuleLog import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteOnDutyInfo/data.go b/iSolarCloud/sungro/AppService/deleteOnDutyInfo/data.go index cca23a938..937e594f7 100644 --- a/iSolarCloud/sungro/AppService/deleteOnDutyInfo/data.go +++ b/iSolarCloud/sungro/AppService/deleteOnDutyInfo/data.go @@ -1,7 +1,7 @@ package deleteOnDutyInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteOnDutyInfo/struct.go b/iSolarCloud/sungro/AppService/deleteOnDutyInfo/struct.go index 86ebe0d9f..48e841385 100644 --- a/iSolarCloud/sungro/AppService/deleteOnDutyInfo/struct.go +++ b/iSolarCloud/sungro/AppService/deleteOnDutyInfo/struct.go @@ -1,9 +1,9 @@ package deleteOnDutyInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteOperateBillFile/data.go b/iSolarCloud/sungro/AppService/deleteOperateBillFile/data.go index 2ad7e0292..e19289090 100644 --- a/iSolarCloud/sungro/AppService/deleteOperateBillFile/data.go +++ b/iSolarCloud/sungro/AppService/deleteOperateBillFile/data.go @@ -1,7 +1,7 @@ package deleteOperateBillFile import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteOperateBillFile/struct.go b/iSolarCloud/sungro/AppService/deleteOperateBillFile/struct.go index 434a72597..548d89e73 100644 --- a/iSolarCloud/sungro/AppService/deleteOperateBillFile/struct.go +++ b/iSolarCloud/sungro/AppService/deleteOperateBillFile/struct.go @@ -1,9 +1,9 @@ package deleteOperateBillFile import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteOssObject/data.go b/iSolarCloud/sungro/AppService/deleteOssObject/data.go index 3b0d65e27..5ee0f6eed 100644 --- a/iSolarCloud/sungro/AppService/deleteOssObject/data.go +++ b/iSolarCloud/sungro/AppService/deleteOssObject/data.go @@ -1,7 +1,7 @@ package deleteOssObject import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteOssObject/struct.go b/iSolarCloud/sungro/AppService/deleteOssObject/struct.go index 7a11dd880..a55b3d9bf 100644 --- a/iSolarCloud/sungro/AppService/deleteOssObject/struct.go +++ b/iSolarCloud/sungro/AppService/deleteOssObject/struct.go @@ -1,9 +1,9 @@ package deleteOssObject import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deletePowerDevicePointById/data.go b/iSolarCloud/sungro/AppService/deletePowerDevicePointById/data.go index 7313dc6b1..be7334c6a 100644 --- a/iSolarCloud/sungro/AppService/deletePowerDevicePointById/data.go +++ b/iSolarCloud/sungro/AppService/deletePowerDevicePointById/data.go @@ -1,7 +1,7 @@ package deletePowerDevicePointById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deletePowerDevicePointById/struct.go b/iSolarCloud/sungro/AppService/deletePowerDevicePointById/struct.go index 1161d10d1..1a5c9ac78 100644 --- a/iSolarCloud/sungro/AppService/deletePowerDevicePointById/struct.go +++ b/iSolarCloud/sungro/AppService/deletePowerDevicePointById/struct.go @@ -1,9 +1,9 @@ package deletePowerDevicePointById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deletePowerPicture/data.go b/iSolarCloud/sungro/AppService/deletePowerPicture/data.go index 9d15979d5..48e3aec59 100644 --- a/iSolarCloud/sungro/AppService/deletePowerPicture/data.go +++ b/iSolarCloud/sungro/AppService/deletePowerPicture/data.go @@ -1,7 +1,7 @@ package deletePowerPicture import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deletePowerPicture/struct.go b/iSolarCloud/sungro/AppService/deletePowerPicture/struct.go index 1e7064c6f..4408381ea 100644 --- a/iSolarCloud/sungro/AppService/deletePowerPicture/struct.go +++ b/iSolarCloud/sungro/AppService/deletePowerPicture/struct.go @@ -1,9 +1,9 @@ package deletePowerPicture import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/data.go b/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/data.go index 5b9c88fe5..1908c75dd 100644 --- a/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/data.go +++ b/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/data.go @@ -1,7 +1,7 @@ package deletePowerRobotInfoBySnAndPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/struct.go b/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/struct.go index 49b9b2225..95ef73058 100644 --- a/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/struct.go +++ b/iSolarCloud/sungro/AppService/deletePowerRobotInfoBySnAndPsId/struct.go @@ -1,9 +1,9 @@ package deletePowerRobotInfoBySnAndPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/data.go b/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/data.go index ba45fe5b0..c348ed50f 100644 --- a/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/data.go +++ b/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/data.go @@ -1,7 +1,7 @@ package deletePowerRobotSweepStrategy import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/struct.go b/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/struct.go index 1c4b99981..03ff19cb8 100644 --- a/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/struct.go +++ b/iSolarCloud/sungro/AppService/deletePowerRobotSweepStrategy/struct.go @@ -1,9 +1,9 @@ package deletePowerRobotSweepStrategy import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteProductionData/data.go b/iSolarCloud/sungro/AppService/deleteProductionData/data.go index 5c4875885..8d2c365c6 100644 --- a/iSolarCloud/sungro/AppService/deleteProductionData/data.go +++ b/iSolarCloud/sungro/AppService/deleteProductionData/data.go @@ -1,7 +1,7 @@ package deleteProductionData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteProductionData/struct.go b/iSolarCloud/sungro/AppService/deleteProductionData/struct.go index c9fc94a54..74ac6bb59 100644 --- a/iSolarCloud/sungro/AppService/deleteProductionData/struct.go +++ b/iSolarCloud/sungro/AppService/deleteProductionData/struct.go @@ -1,9 +1,9 @@ package deleteProductionData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deletePs/data.go b/iSolarCloud/sungro/AppService/deletePs/data.go index 915ddfa29..bb6e5aea8 100644 --- a/iSolarCloud/sungro/AppService/deletePs/data.go +++ b/iSolarCloud/sungro/AppService/deletePs/data.go @@ -1,7 +1,7 @@ package deletePs import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deletePs/struct.go b/iSolarCloud/sungro/AppService/deletePs/struct.go index 89f6b40df..c25eb1463 100644 --- a/iSolarCloud/sungro/AppService/deletePs/struct.go +++ b/iSolarCloud/sungro/AppService/deletePs/struct.go @@ -1,9 +1,9 @@ package deletePs import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteRechargeOrder/data.go b/iSolarCloud/sungro/AppService/deleteRechargeOrder/data.go index a05baa6e0..090617c76 100644 --- a/iSolarCloud/sungro/AppService/deleteRechargeOrder/data.go +++ b/iSolarCloud/sungro/AppService/deleteRechargeOrder/data.go @@ -1,7 +1,7 @@ package deleteRechargeOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteRechargeOrder/struct.go b/iSolarCloud/sungro/AppService/deleteRechargeOrder/struct.go index cd105c7e6..7ae5007b9 100644 --- a/iSolarCloud/sungro/AppService/deleteRechargeOrder/struct.go +++ b/iSolarCloud/sungro/AppService/deleteRechargeOrder/struct.go @@ -1,9 +1,9 @@ package deleteRechargeOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/data.go b/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/data.go index e2e77b852..07e71bbc5 100644 --- a/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/data.go +++ b/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/data.go @@ -1,7 +1,7 @@ package deleteRegularlyConnectionInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/struct.go b/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/struct.go index 1b67e44ac..0873386ef 100644 --- a/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/struct.go +++ b/iSolarCloud/sungro/AppService/deleteRegularlyConnectionInfo/struct.go @@ -1,9 +1,9 @@ package deleteRegularlyConnectionInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/data.go b/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/data.go index 3b7641e71..20a6d5fc1 100644 --- a/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/data.go +++ b/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/data.go @@ -1,7 +1,7 @@ package deleteReportConfigEmailAddr import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/struct.go b/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/struct.go index 04a39a7f9..61ffb71a7 100644 --- a/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/struct.go +++ b/iSolarCloud/sungro/AppService/deleteReportConfigEmailAddr/struct.go @@ -1,9 +1,9 @@ package deleteReportConfigEmailAddr import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/data.go b/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/data.go index d80b493fe..61bb178d5 100644 --- a/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/data.go +++ b/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/data.go @@ -1,7 +1,7 @@ package deleteSysAdvancedParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/struct.go b/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/struct.go index 044fe76ad..d471b45a4 100644 --- a/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/struct.go +++ b/iSolarCloud/sungro/AppService/deleteSysAdvancedParam/struct.go @@ -1,9 +1,9 @@ package deleteSysAdvancedParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteSysOrgNew/data.go b/iSolarCloud/sungro/AppService/deleteSysOrgNew/data.go index cb11a5d63..9c3b34cd2 100644 --- a/iSolarCloud/sungro/AppService/deleteSysOrgNew/data.go +++ b/iSolarCloud/sungro/AppService/deleteSysOrgNew/data.go @@ -1,7 +1,7 @@ package deleteSysOrgNew import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteSysOrgNew/struct.go b/iSolarCloud/sungro/AppService/deleteSysOrgNew/struct.go index af12e3c8d..2a15dee0d 100644 --- a/iSolarCloud/sungro/AppService/deleteSysOrgNew/struct.go +++ b/iSolarCloud/sungro/AppService/deleteSysOrgNew/struct.go @@ -1,9 +1,9 @@ package deleteSysOrgNew import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteTemplate/data.go b/iSolarCloud/sungro/AppService/deleteTemplate/data.go index 8a0892249..1e4820f2f 100644 --- a/iSolarCloud/sungro/AppService/deleteTemplate/data.go +++ b/iSolarCloud/sungro/AppService/deleteTemplate/data.go @@ -1,7 +1,7 @@ package deleteTemplate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteTemplate/struct.go b/iSolarCloud/sungro/AppService/deleteTemplate/struct.go index c40b5e422..d59695cbf 100644 --- a/iSolarCloud/sungro/AppService/deleteTemplate/struct.go +++ b/iSolarCloud/sungro/AppService/deleteTemplate/struct.go @@ -1,9 +1,9 @@ package deleteTemplate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/data.go b/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/data.go index f8ad6da06..c12cb25f9 100644 --- a/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/data.go +++ b/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/data.go @@ -1,7 +1,7 @@ package deleteUserInfoAllByUserId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/struct.go b/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/struct.go index b532e8311..433fe0c29 100644 --- a/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/struct.go +++ b/iSolarCloud/sungro/AppService/deleteUserInfoAllByUserId/struct.go @@ -1,9 +1,9 @@ package deleteUserInfoAllByUserId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/data.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/data.go index 0c7a20369..386639593 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/data.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/data.go @@ -1,7 +1,7 @@ package deviceInputDiscreteDeleteTime import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/struct.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/struct.go index 9c1dbd39c..219870d4c 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/struct.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteDeleteTime/struct.go @@ -1,9 +1,9 @@ package deviceInputDiscreteDeleteTime import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/data.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/data.go index 9403086a1..4e31c74c9 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/data.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/data.go @@ -1,7 +1,7 @@ package deviceInputDiscreteGetTime import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/struct.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/struct.go index 8de3a8687..277a5684e 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/struct.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteGetTime/struct.go @@ -1,9 +1,9 @@ package deviceInputDiscreteGetTime import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/data.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/data.go index 5d44d70ce..65aedb7a0 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/data.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/data.go @@ -1,7 +1,7 @@ package deviceInputDiscreteInsertTime import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/struct.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/struct.go index d075de859..39852cb95 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/struct.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteInsertTime/struct.go @@ -1,9 +1,9 @@ package deviceInputDiscreteInsertTime import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/data.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/data.go index fd41bb33b..5cc9adcfa 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/data.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/data.go @@ -1,7 +1,7 @@ package deviceInputDiscreteUpdateTime import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/struct.go b/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/struct.go index ea6160689..555341358 100644 --- a/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/struct.go +++ b/iSolarCloud/sungro/AppService/deviceInputDiscreteUpdateTime/struct.go @@ -1,9 +1,9 @@ package deviceInputDiscreteUpdateTime import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/data.go b/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/data.go index 2899a48b1..1e78155d0 100644 --- a/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/data.go +++ b/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/data.go @@ -1,7 +1,7 @@ package devicePointsDataFromMySql import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/struct.go b/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/struct.go index 70c2f4b23..9d81e8765 100644 --- a/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/struct.go +++ b/iSolarCloud/sungro/AppService/devicePointsDataFromMySql/struct.go @@ -1,9 +1,9 @@ package devicePointsDataFromMySql import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/deviceReplace/data.go b/iSolarCloud/sungro/AppService/deviceReplace/data.go index d893dbce1..dc5e65e2d 100644 --- a/iSolarCloud/sungro/AppService/deviceReplace/data.go +++ b/iSolarCloud/sungro/AppService/deviceReplace/data.go @@ -1,7 +1,7 @@ package deviceReplace import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/deviceReplace/struct.go b/iSolarCloud/sungro/AppService/deviceReplace/struct.go index d19a25478..f383fd7ca 100644 --- a/iSolarCloud/sungro/AppService/deviceReplace/struct.go +++ b/iSolarCloud/sungro/AppService/deviceReplace/struct.go @@ -1,9 +1,9 @@ package deviceReplace import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/editDeviceRepair/data.go b/iSolarCloud/sungro/AppService/editDeviceRepair/data.go index a4993f288..6ad076377 100644 --- a/iSolarCloud/sungro/AppService/editDeviceRepair/data.go +++ b/iSolarCloud/sungro/AppService/editDeviceRepair/data.go @@ -1,7 +1,7 @@ package editDeviceRepair import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/editDeviceRepair/struct.go b/iSolarCloud/sungro/AppService/editDeviceRepair/struct.go index ab8ff0512..7d1a2b4c7 100644 --- a/iSolarCloud/sungro/AppService/editDeviceRepair/struct.go +++ b/iSolarCloud/sungro/AppService/editDeviceRepair/struct.go @@ -1,9 +1,9 @@ package editDeviceRepair import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/editOperRule/data.go b/iSolarCloud/sungro/AppService/editOperRule/data.go index 6a3a94c82..ecbf3ae5f 100644 --- a/iSolarCloud/sungro/AppService/editOperRule/data.go +++ b/iSolarCloud/sungro/AppService/editOperRule/data.go @@ -1,7 +1,7 @@ package editOperRule import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/editOperRule/struct.go b/iSolarCloud/sungro/AppService/editOperRule/struct.go index 30d78cb2d..a3981ab2f 100644 --- a/iSolarCloud/sungro/AppService/editOperRule/struct.go +++ b/iSolarCloud/sungro/AppService/editOperRule/struct.go @@ -1,9 +1,9 @@ package editOperRule import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/energyPovertyAlleviation/data.go b/iSolarCloud/sungro/AppService/energyPovertyAlleviation/data.go index 6500223f2..e5b716747 100644 --- a/iSolarCloud/sungro/AppService/energyPovertyAlleviation/data.go +++ b/iSolarCloud/sungro/AppService/energyPovertyAlleviation/data.go @@ -1,7 +1,7 @@ package energyPovertyAlleviation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/energyPovertyAlleviation/struct.go b/iSolarCloud/sungro/AppService/energyPovertyAlleviation/struct.go index db0931979..9c60cc134 100644 --- a/iSolarCloud/sungro/AppService/energyPovertyAlleviation/struct.go +++ b/iSolarCloud/sungro/AppService/energyPovertyAlleviation/struct.go @@ -1,9 +1,9 @@ package energyPovertyAlleviation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/energyTrend/data.go b/iSolarCloud/sungro/AppService/energyTrend/data.go index d9ae16e82..5156d7b0d 100644 --- a/iSolarCloud/sungro/AppService/energyTrend/data.go +++ b/iSolarCloud/sungro/AppService/energyTrend/data.go @@ -1,7 +1,7 @@ package energyTrend import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/energyTrend/struct.go b/iSolarCloud/sungro/AppService/energyTrend/struct.go index 19e840341..2319b2a7b 100644 --- a/iSolarCloud/sungro/AppService/energyTrend/struct.go +++ b/iSolarCloud/sungro/AppService/energyTrend/struct.go @@ -1,9 +1,9 @@ package energyTrend import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/exportParamSettingValPDF/data.go b/iSolarCloud/sungro/AppService/exportParamSettingValPDF/data.go index 6b98504a0..c3d0cf214 100644 --- a/iSolarCloud/sungro/AppService/exportParamSettingValPDF/data.go +++ b/iSolarCloud/sungro/AppService/exportParamSettingValPDF/data.go @@ -1,7 +1,7 @@ package exportParamSettingValPDF import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/exportParamSettingValPDF/struct.go b/iSolarCloud/sungro/AppService/exportParamSettingValPDF/struct.go index de6b2d990..ca319f6d4 100644 --- a/iSolarCloud/sungro/AppService/exportParamSettingValPDF/struct.go +++ b/iSolarCloud/sungro/AppService/exportParamSettingValPDF/struct.go @@ -1,9 +1,9 @@ package exportParamSettingValPDF import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/exportPlantReportPDF/data.go b/iSolarCloud/sungro/AppService/exportPlantReportPDF/data.go index 294ea7da4..de5531ea7 100644 --- a/iSolarCloud/sungro/AppService/exportPlantReportPDF/data.go +++ b/iSolarCloud/sungro/AppService/exportPlantReportPDF/data.go @@ -1,7 +1,7 @@ package exportPlantReportPDF import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/exportPlantReportPDF/struct.go b/iSolarCloud/sungro/AppService/exportPlantReportPDF/struct.go index 22cf6f577..538d7165b 100644 --- a/iSolarCloud/sungro/AppService/exportPlantReportPDF/struct.go +++ b/iSolarCloud/sungro/AppService/exportPlantReportPDF/struct.go @@ -1,9 +1,9 @@ package exportPlantReportPDF import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/faultAutoClose/data.go b/iSolarCloud/sungro/AppService/faultAutoClose/data.go index a0e681baf..979f3793b 100644 --- a/iSolarCloud/sungro/AppService/faultAutoClose/data.go +++ b/iSolarCloud/sungro/AppService/faultAutoClose/data.go @@ -1,7 +1,7 @@ package faultAutoClose import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/faultAutoClose/struct.go b/iSolarCloud/sungro/AppService/faultAutoClose/struct.go index c1348f132..96523c5c7 100644 --- a/iSolarCloud/sungro/AppService/faultAutoClose/struct.go +++ b/iSolarCloud/sungro/AppService/faultAutoClose/struct.go @@ -1,9 +1,9 @@ package faultAutoClose import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/data.go b/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/data.go index 0d1f904aa..6d802317b 100644 --- a/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/data.go +++ b/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/data.go @@ -1,7 +1,7 @@ package faultCloseRemindOrderHandler import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/struct.go b/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/struct.go index 196b7ffea..842cc9062 100644 --- a/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/struct.go +++ b/iSolarCloud/sungro/AppService/faultCloseRemindOrderHandler/struct.go @@ -1,9 +1,9 @@ package faultCloseRemindOrderHandler import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findCodeValueList/data.go b/iSolarCloud/sungro/AppService/findCodeValueList/data.go index 1dd116aab..1ca1904c0 100644 --- a/iSolarCloud/sungro/AppService/findCodeValueList/data.go +++ b/iSolarCloud/sungro/AppService/findCodeValueList/data.go @@ -1,7 +1,7 @@ package findCodeValueList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findCodeValueList/struct.go b/iSolarCloud/sungro/AppService/findCodeValueList/struct.go index 33e1c2d76..4cebc687e 100644 --- a/iSolarCloud/sungro/AppService/findCodeValueList/struct.go +++ b/iSolarCloud/sungro/AppService/findCodeValueList/struct.go @@ -1,9 +1,9 @@ package findCodeValueList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findEmgOrgInfo/data.go b/iSolarCloud/sungro/AppService/findEmgOrgInfo/data.go index 716600199..8361d00c5 100644 --- a/iSolarCloud/sungro/AppService/findEmgOrgInfo/data.go +++ b/iSolarCloud/sungro/AppService/findEmgOrgInfo/data.go @@ -1,7 +1,7 @@ package findEmgOrgInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findEmgOrgInfo/struct.go b/iSolarCloud/sungro/AppService/findEmgOrgInfo/struct.go index cace8029f..7e50f8514 100644 --- a/iSolarCloud/sungro/AppService/findEmgOrgInfo/struct.go +++ b/iSolarCloud/sungro/AppService/findEmgOrgInfo/struct.go @@ -1,9 +1,9 @@ package findEmgOrgInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findEnvironmentInfo/data.go b/iSolarCloud/sungro/AppService/findEnvironmentInfo/data.go index e9bc2065a..ad2d52cec 100644 --- a/iSolarCloud/sungro/AppService/findEnvironmentInfo/data.go +++ b/iSolarCloud/sungro/AppService/findEnvironmentInfo/data.go @@ -1,7 +1,7 @@ package findEnvironmentInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findEnvironmentInfo/struct.go b/iSolarCloud/sungro/AppService/findEnvironmentInfo/struct.go index b824df4c6..430620b15 100644 --- a/iSolarCloud/sungro/AppService/findEnvironmentInfo/struct.go +++ b/iSolarCloud/sungro/AppService/findEnvironmentInfo/struct.go @@ -1,9 +1,9 @@ package findEnvironmentInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/data.go b/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/data.go index 113389d8a..82addb5b0 100644 --- a/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/data.go +++ b/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/data.go @@ -1,7 +1,7 @@ package findFromHbaseAndRedis import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/struct.go b/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/struct.go index 5c3dd098b..36d9b3300 100644 --- a/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/struct.go +++ b/iSolarCloud/sungro/AppService/findFromHbaseAndRedis/struct.go @@ -1,9 +1,9 @@ package findFromHbaseAndRedis import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findInfoByuuid/data.go b/iSolarCloud/sungro/AppService/findInfoByuuid/data.go index c3615154e..91ebf1bce 100644 --- a/iSolarCloud/sungro/AppService/findInfoByuuid/data.go +++ b/iSolarCloud/sungro/AppService/findInfoByuuid/data.go @@ -1,7 +1,7 @@ package findInfoByuuid import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findInfoByuuid/struct.go b/iSolarCloud/sungro/AppService/findInfoByuuid/struct.go index ffed36c30..4d9a83b5b 100644 --- a/iSolarCloud/sungro/AppService/findInfoByuuid/struct.go +++ b/iSolarCloud/sungro/AppService/findInfoByuuid/struct.go @@ -1,9 +1,9 @@ package findInfoByuuid import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findLossAnalysisList/data.go b/iSolarCloud/sungro/AppService/findLossAnalysisList/data.go index ddb9067a8..1fe13821b 100644 --- a/iSolarCloud/sungro/AppService/findLossAnalysisList/data.go +++ b/iSolarCloud/sungro/AppService/findLossAnalysisList/data.go @@ -1,7 +1,7 @@ package findLossAnalysisList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findLossAnalysisList/struct.go b/iSolarCloud/sungro/AppService/findLossAnalysisList/struct.go index 48f6d15e3..c2351f895 100644 --- a/iSolarCloud/sungro/AppService/findLossAnalysisList/struct.go +++ b/iSolarCloud/sungro/AppService/findLossAnalysisList/struct.go @@ -1,9 +1,9 @@ package findLossAnalysisList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findOnDutyInfo/data.go b/iSolarCloud/sungro/AppService/findOnDutyInfo/data.go index 07589a862..b5671b411 100644 --- a/iSolarCloud/sungro/AppService/findOnDutyInfo/data.go +++ b/iSolarCloud/sungro/AppService/findOnDutyInfo/data.go @@ -1,7 +1,7 @@ package findOnDutyInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findOnDutyInfo/struct.go b/iSolarCloud/sungro/AppService/findOnDutyInfo/struct.go index 09b78c160..2e729bf38 100644 --- a/iSolarCloud/sungro/AppService/findOnDutyInfo/struct.go +++ b/iSolarCloud/sungro/AppService/findOnDutyInfo/struct.go @@ -1,9 +1,9 @@ package findOnDutyInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findPsType/data.go b/iSolarCloud/sungro/AppService/findPsType/data.go index 7001ff03e..9fab4fbae 100644 --- a/iSolarCloud/sungro/AppService/findPsType/data.go +++ b/iSolarCloud/sungro/AppService/findPsType/data.go @@ -1,7 +1,7 @@ package findPsType import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findPsType/struct.go b/iSolarCloud/sungro/AppService/findPsType/struct.go index 30b18b459..243b159fa 100644 --- a/iSolarCloud/sungro/AppService/findPsType/struct.go +++ b/iSolarCloud/sungro/AppService/findPsType/struct.go @@ -1,9 +1,9 @@ package findPsType import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findSingleStationPR/data.go b/iSolarCloud/sungro/AppService/findSingleStationPR/data.go index 4e412fe2c..b86eb652a 100644 --- a/iSolarCloud/sungro/AppService/findSingleStationPR/data.go +++ b/iSolarCloud/sungro/AppService/findSingleStationPR/data.go @@ -1,7 +1,7 @@ package findSingleStationPR import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findSingleStationPR/struct.go b/iSolarCloud/sungro/AppService/findSingleStationPR/struct.go index 0c235d12e..e648515d8 100644 --- a/iSolarCloud/sungro/AppService/findSingleStationPR/struct.go +++ b/iSolarCloud/sungro/AppService/findSingleStationPR/struct.go @@ -1,9 +1,9 @@ package findSingleStationPR import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/findUserPassword/data.go b/iSolarCloud/sungro/AppService/findUserPassword/data.go index c65dd7b16..bd78c59d3 100644 --- a/iSolarCloud/sungro/AppService/findUserPassword/data.go +++ b/iSolarCloud/sungro/AppService/findUserPassword/data.go @@ -1,7 +1,7 @@ package findUserPassword import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/findUserPassword/struct.go b/iSolarCloud/sungro/AppService/findUserPassword/struct.go index e0d4f34cf..ad748fdc7 100644 --- a/iSolarCloud/sungro/AppService/findUserPassword/struct.go +++ b/iSolarCloud/sungro/AppService/findUserPassword/struct.go @@ -1,9 +1,9 @@ package findUserPassword import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/data.go b/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/data.go index 2b2e6b1f9..8f56253eb 100644 --- a/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/data.go +++ b/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/data.go @@ -1,7 +1,7 @@ package genTLSUserSigByUserAccount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/struct.go b/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/struct.go index cf156c2f8..a0b102263 100644 --- a/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/struct.go +++ b/iSolarCloud/sungro/AppService/genTLSUserSigByUserAccount/struct.go @@ -1,9 +1,9 @@ package genTLSUserSigByUserAccount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/generateRandomPassword/data.go b/iSolarCloud/sungro/AppService/generateRandomPassword/data.go index f64fbefea..9bbb6fa1d 100644 --- a/iSolarCloud/sungro/AppService/generateRandomPassword/data.go +++ b/iSolarCloud/sungro/AppService/generateRandomPassword/data.go @@ -1,7 +1,7 @@ package generateRandomPassword import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/generateRandomPassword/struct.go b/iSolarCloud/sungro/AppService/generateRandomPassword/struct.go index d5aab1a50..5956fa01a 100644 --- a/iSolarCloud/sungro/AppService/generateRandomPassword/struct.go +++ b/iSolarCloud/sungro/AppService/generateRandomPassword/struct.go @@ -1,9 +1,9 @@ package generateRandomPassword import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAPIServiceInfo/data.go b/iSolarCloud/sungro/AppService/getAPIServiceInfo/data.go index a92b66f7c..fe6ec28c2 100644 --- a/iSolarCloud/sungro/AppService/getAPIServiceInfo/data.go +++ b/iSolarCloud/sungro/AppService/getAPIServiceInfo/data.go @@ -1,7 +1,7 @@ package getAPIServiceInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAPIServiceInfo/struct.go b/iSolarCloud/sungro/AppService/getAPIServiceInfo/struct.go index 50a8c5edd..8138c5628 100644 --- a/iSolarCloud/sungro/AppService/getAPIServiceInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getAPIServiceInfo/struct.go @@ -1,9 +1,9 @@ package getAPIServiceInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAccessedPermission/data.go b/iSolarCloud/sungro/AppService/getAccessedPermission/data.go index 459db54c0..c31dca52c 100644 --- a/iSolarCloud/sungro/AppService/getAccessedPermission/data.go +++ b/iSolarCloud/sungro/AppService/getAccessedPermission/data.go @@ -1,7 +1,7 @@ package getAccessedPermission import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAccessedPermission/struct.go b/iSolarCloud/sungro/AppService/getAccessedPermission/struct.go index 3ced46ca5..b56243648 100644 --- a/iSolarCloud/sungro/AppService/getAccessedPermission/struct.go +++ b/iSolarCloud/sungro/AppService/getAccessedPermission/struct.go @@ -1,9 +1,9 @@ package getAccessedPermission import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAllDeviceByPsId/data.go b/iSolarCloud/sungro/AppService/getAllDeviceByPsId/data.go index aa74e6419..bb526badd 100644 --- a/iSolarCloud/sungro/AppService/getAllDeviceByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getAllDeviceByPsId/data.go @@ -1,7 +1,7 @@ package getAllDeviceByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAllDeviceByPsId/struct.go b/iSolarCloud/sungro/AppService/getAllDeviceByPsId/struct.go index f65d4ac4c..58822623a 100644 --- a/iSolarCloud/sungro/AppService/getAllDeviceByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getAllDeviceByPsId/struct.go @@ -1,9 +1,9 @@ package getAllDeviceByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/data.go b/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/data.go index 0fae93080..143fa75ae 100644 --- a/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/data.go +++ b/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/data.go @@ -1,7 +1,7 @@ package getAllPowerDeviceSetName import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/struct.go b/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/struct.go index f7c355ad4..e511da044 100644 --- a/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/struct.go +++ b/iSolarCloud/sungro/AppService/getAllPowerDeviceSetName/struct.go @@ -1,9 +1,9 @@ package getAllPowerDeviceSetName import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/data.go b/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/data.go index 3f0a5f45c..c9f3cdd50 100644 --- a/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/data.go @@ -1,7 +1,7 @@ package getAllPowerRobotViewInfoByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/struct.go b/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/struct.go index a9693f820..b751f3b61 100644 --- a/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getAllPowerRobotViewInfoByPsId/struct.go @@ -1,9 +1,9 @@ package getAllPowerRobotViewInfoByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/data.go b/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/data.go index 1d552b890..5ed4e51ad 100644 --- a/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/data.go +++ b/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/data.go @@ -1,7 +1,7 @@ package getAllPsIdByOrgIds import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/struct.go b/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/struct.go index d4768e83b..f605deca6 100644 --- a/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/struct.go +++ b/iSolarCloud/sungro/AppService/getAllPsIdByOrgIds/struct.go @@ -1,9 +1,9 @@ package getAllPsIdByOrgIds import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAllUserRemindCount/data.go b/iSolarCloud/sungro/AppService/getAllUserRemindCount/data.go index 844cdd6df..4f4915b24 100644 --- a/iSolarCloud/sungro/AppService/getAllUserRemindCount/data.go +++ b/iSolarCloud/sungro/AppService/getAllUserRemindCount/data.go @@ -1,7 +1,7 @@ package getAllUserRemindCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAllUserRemindCount/struct.go b/iSolarCloud/sungro/AppService/getAllUserRemindCount/struct.go index 711dd894e..5e9c4ed03 100644 --- a/iSolarCloud/sungro/AppService/getAllUserRemindCount/struct.go +++ b/iSolarCloud/sungro/AppService/getAllUserRemindCount/struct.go @@ -1,9 +1,9 @@ package getAllUserRemindCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/data.go b/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/data.go index efc374a12..f88182083 100644 --- a/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/data.go +++ b/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/data.go @@ -1,7 +1,7 @@ package getAndOutletsAndUnit import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/struct.go b/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/struct.go index b79a11753..4a97341b3 100644 --- a/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/struct.go +++ b/iSolarCloud/sungro/AppService/getAndOutletsAndUnit/struct.go @@ -1,9 +1,9 @@ package getAndOutletsAndUnit import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/data.go b/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/data.go index 6cf745e9c..3b68c692d 100644 --- a/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/data.go +++ b/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/data.go @@ -1,7 +1,7 @@ package getApiCallsForAppkeys import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/struct.go b/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/struct.go index 0af8e0f82..577347c0c 100644 --- a/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/struct.go +++ b/iSolarCloud/sungro/AppService/getApiCallsForAppkeys/struct.go @@ -1,9 +1,9 @@ package getApiCallsForAppkeys import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/data.go b/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/data.go index 90016b744..bfa2aafec 100644 --- a/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/data.go +++ b/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/data.go @@ -1,7 +1,7 @@ package getAreaInfoCodeByCounty import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/struct.go b/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/struct.go index e47f612b9..b0a4ee308 100644 --- a/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/struct.go +++ b/iSolarCloud/sungro/AppService/getAreaInfoCodeByCounty/struct.go @@ -1,9 +1,9 @@ package getAreaInfoCodeByCounty import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAreaList/data.go b/iSolarCloud/sungro/AppService/getAreaList/data.go index 35cbe80dc..4b1d7df5b 100644 --- a/iSolarCloud/sungro/AppService/getAreaList/data.go +++ b/iSolarCloud/sungro/AppService/getAreaList/data.go @@ -1,7 +1,7 @@ package getAreaList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAreaList/struct.go b/iSolarCloud/sungro/AppService/getAreaList/struct.go index df9fab276..4c82ad010 100644 --- a/iSolarCloud/sungro/AppService/getAreaList/struct.go +++ b/iSolarCloud/sungro/AppService/getAreaList/struct.go @@ -1,9 +1,9 @@ package getAreaList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/data.go b/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/data.go index 6d7658966..0b0ef7eaa 100644 --- a/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/data.go +++ b/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/data.go @@ -1,7 +1,7 @@ package getAutoCreatePowerStation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/struct.go b/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/struct.go index 1ec195693..cfa1a9c16 100644 --- a/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/struct.go +++ b/iSolarCloud/sungro/AppService/getAutoCreatePowerStation/struct.go @@ -1,9 +1,9 @@ package getAutoCreatePowerStation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getBackReadValue/data.go b/iSolarCloud/sungro/AppService/getBackReadValue/data.go index c71771a8e..657d9164b 100644 --- a/iSolarCloud/sungro/AppService/getBackReadValue/data.go +++ b/iSolarCloud/sungro/AppService/getBackReadValue/data.go @@ -1,7 +1,7 @@ package getBackReadValue import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getBackReadValue/struct.go b/iSolarCloud/sungro/AppService/getBackReadValue/struct.go index d101fd78c..78ac6f22e 100644 --- a/iSolarCloud/sungro/AppService/getBackReadValue/struct.go +++ b/iSolarCloud/sungro/AppService/getBackReadValue/struct.go @@ -1,9 +1,9 @@ package getBackReadValue import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getBatchNewestPointData/data.go b/iSolarCloud/sungro/AppService/getBatchNewestPointData/data.go index 7f21eb691..9591c91d1 100644 --- a/iSolarCloud/sungro/AppService/getBatchNewestPointData/data.go +++ b/iSolarCloud/sungro/AppService/getBatchNewestPointData/data.go @@ -1,7 +1,7 @@ package getBatchNewestPointData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getBatchNewestPointData/struct.go b/iSolarCloud/sungro/AppService/getBatchNewestPointData/struct.go index 66fe4c29e..906e00472 100644 --- a/iSolarCloud/sungro/AppService/getBatchNewestPointData/struct.go +++ b/iSolarCloud/sungro/AppService/getBatchNewestPointData/struct.go @@ -1,9 +1,9 @@ package getBatchNewestPointData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCallApiResidueTimes/data.go b/iSolarCloud/sungro/AppService/getCallApiResidueTimes/data.go index aafd13e93..e3d303d1e 100644 --- a/iSolarCloud/sungro/AppService/getCallApiResidueTimes/data.go +++ b/iSolarCloud/sungro/AppService/getCallApiResidueTimes/data.go @@ -1,7 +1,7 @@ package getCallApiResidueTimes import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCallApiResidueTimes/struct.go b/iSolarCloud/sungro/AppService/getCallApiResidueTimes/struct.go index 71f688cf2..0b309ab7a 100644 --- a/iSolarCloud/sungro/AppService/getCallApiResidueTimes/struct.go +++ b/iSolarCloud/sungro/AppService/getCallApiResidueTimes/struct.go @@ -1,9 +1,9 @@ package getCallApiResidueTimes import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getChangedPsListByTime/data.go b/iSolarCloud/sungro/AppService/getChangedPsListByTime/data.go index 2ff3a750a..85c3abb04 100644 --- a/iSolarCloud/sungro/AppService/getChangedPsListByTime/data.go +++ b/iSolarCloud/sungro/AppService/getChangedPsListByTime/data.go @@ -1,7 +1,7 @@ package getChangedPsListByTime import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getChangedPsListByTime/struct.go b/iSolarCloud/sungro/AppService/getChangedPsListByTime/struct.go index 053bfe042..2b64ebfd9 100644 --- a/iSolarCloud/sungro/AppService/getChangedPsListByTime/struct.go +++ b/iSolarCloud/sungro/AppService/getChangedPsListByTime/struct.go @@ -1,9 +1,9 @@ package getChangedPsListByTime import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getChnnlListByPsId/data.go b/iSolarCloud/sungro/AppService/getChnnlListByPsId/data.go index 81245e6d2..79a34d066 100644 --- a/iSolarCloud/sungro/AppService/getChnnlListByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getChnnlListByPsId/data.go @@ -1,7 +1,7 @@ package getChnnlListByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getChnnlListByPsId/struct.go b/iSolarCloud/sungro/AppService/getChnnlListByPsId/struct.go index 18b610731..7af9a235c 100644 --- a/iSolarCloud/sungro/AppService/getChnnlListByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getChnnlListByPsId/struct.go @@ -1,9 +1,9 @@ package getChnnlListByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCloudList/data.go b/iSolarCloud/sungro/AppService/getCloudList/data.go index d4d0d38b7..a98981416 100644 --- a/iSolarCloud/sungro/AppService/getCloudList/data.go +++ b/iSolarCloud/sungro/AppService/getCloudList/data.go @@ -1,7 +1,7 @@ package getCloudList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCloudList/struct.go b/iSolarCloud/sungro/AppService/getCloudList/struct.go index a2dff8c5a..9e04fb5e8 100644 --- a/iSolarCloud/sungro/AppService/getCloudList/struct.go +++ b/iSolarCloud/sungro/AppService/getCloudList/struct.go @@ -1,9 +1,9 @@ package getCloudList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/data.go b/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/data.go index 349018f15..64d37a275 100644 --- a/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/data.go +++ b/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/data.go @@ -1,7 +1,7 @@ package getCloudServiceMappingConfig import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/struct.go b/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/struct.go index 15a5fb4d3..d9178cfd7 100644 --- a/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/struct.go +++ b/iSolarCloud/sungro/AppService/getCloudServiceMappingConfig/struct.go @@ -1,9 +1,9 @@ package getCloudServiceMappingConfig import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/data.go b/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/data.go index 7e63824c4..fe8447e1a 100644 --- a/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/data.go +++ b/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/data.go @@ -1,7 +1,7 @@ package getCommunicationDeviceConfigInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/struct.go b/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/struct.go index 47712c5c1..8d6f3c300 100644 --- a/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getCommunicationDeviceConfigInfo/struct.go @@ -1,9 +1,9 @@ package getCommunicationDeviceConfigInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/data.go b/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/data.go index a82f4ff00..fd51f7550 100644 --- a/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/data.go +++ b/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/data.go @@ -1,7 +1,7 @@ package getCommunicationModuleMonitorData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/struct.go b/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/struct.go index f5c72d40d..e6abb09ac 100644 --- a/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/struct.go +++ b/iSolarCloud/sungro/AppService/getCommunicationModuleMonitorData/struct.go @@ -1,9 +1,9 @@ package getCommunicationModuleMonitorData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getComponentModelFactory/data.go b/iSolarCloud/sungro/AppService/getComponentModelFactory/data.go index ba65b2fe6..7a10e54ed 100644 --- a/iSolarCloud/sungro/AppService/getComponentModelFactory/data.go +++ b/iSolarCloud/sungro/AppService/getComponentModelFactory/data.go @@ -1,7 +1,7 @@ package getComponentModelFactory import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getComponentModelFactory/struct.go b/iSolarCloud/sungro/AppService/getComponentModelFactory/struct.go index d0cf06425..ef0486e22 100644 --- a/iSolarCloud/sungro/AppService/getComponentModelFactory/struct.go +++ b/iSolarCloud/sungro/AppService/getComponentModelFactory/struct.go @@ -1,9 +1,9 @@ package getComponentModelFactory import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getConfigList/data.go b/iSolarCloud/sungro/AppService/getConfigList/data.go index 947aae4df..e55794d6a 100644 --- a/iSolarCloud/sungro/AppService/getConfigList/data.go +++ b/iSolarCloud/sungro/AppService/getConfigList/data.go @@ -1,7 +1,7 @@ package getConfigList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getConfigList/struct.go b/iSolarCloud/sungro/AppService/getConfigList/struct.go index a380b86e9..5b9121483 100644 --- a/iSolarCloud/sungro/AppService/getConfigList/struct.go +++ b/iSolarCloud/sungro/AppService/getConfigList/struct.go @@ -1,9 +1,9 @@ package getConfigList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/data.go b/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/data.go index d2ca5c19d..c8a9f3331 100644 --- a/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/data.go +++ b/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/data.go @@ -1,7 +1,7 @@ package getConnectionInfoBySnAndLocalPort import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/struct.go b/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/struct.go index e3c8b2a1f..6e7b5062d 100644 --- a/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/struct.go +++ b/iSolarCloud/sungro/AppService/getConnectionInfoBySnAndLocalPort/struct.go @@ -1,9 +1,9 @@ package getConnectionInfoBySnAndLocalPort import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCountDown/data.go b/iSolarCloud/sungro/AppService/getCountDown/data.go index 53e0072d0..832a033f1 100644 --- a/iSolarCloud/sungro/AppService/getCountDown/data.go +++ b/iSolarCloud/sungro/AppService/getCountDown/data.go @@ -1,7 +1,7 @@ package getCountDown import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCountDown/struct.go b/iSolarCloud/sungro/AppService/getCountDown/struct.go index 7f81c33d9..151a44c04 100644 --- a/iSolarCloud/sungro/AppService/getCountDown/struct.go +++ b/iSolarCloud/sungro/AppService/getCountDown/struct.go @@ -1,9 +1,9 @@ package getCountDown import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCountryServiceInfo/data.go b/iSolarCloud/sungro/AppService/getCountryServiceInfo/data.go index 0f26578e0..5145ee832 100644 --- a/iSolarCloud/sungro/AppService/getCountryServiceInfo/data.go +++ b/iSolarCloud/sungro/AppService/getCountryServiceInfo/data.go @@ -1,7 +1,7 @@ package getCountryServiceInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCountryServiceInfo/struct.go b/iSolarCloud/sungro/AppService/getCountryServiceInfo/struct.go index 32fd6167f..757333637 100644 --- a/iSolarCloud/sungro/AppService/getCountryServiceInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getCountryServiceInfo/struct.go @@ -1,9 +1,9 @@ package getCountryServiceInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCounty/data.go b/iSolarCloud/sungro/AppService/getCounty/data.go index 0df8be26e..61e1ee8cc 100644 --- a/iSolarCloud/sungro/AppService/getCounty/data.go +++ b/iSolarCloud/sungro/AppService/getCounty/data.go @@ -1,7 +1,7 @@ package getCounty import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCounty/struct.go b/iSolarCloud/sungro/AppService/getCounty/struct.go index 7978654de..2c2bb31d1 100644 --- a/iSolarCloud/sungro/AppService/getCounty/struct.go +++ b/iSolarCloud/sungro/AppService/getCounty/struct.go @@ -1,9 +1,9 @@ package getCounty import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCustomerEmployee/data.go b/iSolarCloud/sungro/AppService/getCustomerEmployee/data.go index 3f47bb6af..791633462 100644 --- a/iSolarCloud/sungro/AppService/getCustomerEmployee/data.go +++ b/iSolarCloud/sungro/AppService/getCustomerEmployee/data.go @@ -1,7 +1,7 @@ package getCustomerEmployee import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCustomerEmployee/struct.go b/iSolarCloud/sungro/AppService/getCustomerEmployee/struct.go index 75307998e..5fbd35750 100644 --- a/iSolarCloud/sungro/AppService/getCustomerEmployee/struct.go +++ b/iSolarCloud/sungro/AppService/getCustomerEmployee/struct.go @@ -1,9 +1,9 @@ package getCustomerEmployee import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getCustomerList/data.go b/iSolarCloud/sungro/AppService/getCustomerList/data.go index 91fac0322..5d7ca4d20 100644 --- a/iSolarCloud/sungro/AppService/getCustomerList/data.go +++ b/iSolarCloud/sungro/AppService/getCustomerList/data.go @@ -1,7 +1,7 @@ package getCustomerList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getCustomerList/struct.go b/iSolarCloud/sungro/AppService/getCustomerList/struct.go index 0a69a48c0..4855928da 100644 --- a/iSolarCloud/sungro/AppService/getCustomerList/struct.go +++ b/iSolarCloud/sungro/AppService/getCustomerList/struct.go @@ -1,9 +1,9 @@ package getCustomerList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDataFromHBase/data.go b/iSolarCloud/sungro/AppService/getDataFromHBase/data.go index 0669de2c7..5c662e9dc 100644 --- a/iSolarCloud/sungro/AppService/getDataFromHBase/data.go +++ b/iSolarCloud/sungro/AppService/getDataFromHBase/data.go @@ -1,7 +1,7 @@ package getDataFromHBase import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDataFromHBase/struct.go b/iSolarCloud/sungro/AppService/getDataFromHBase/struct.go index f5a9b1c29..931cd52b5 100644 --- a/iSolarCloud/sungro/AppService/getDataFromHBase/struct.go +++ b/iSolarCloud/sungro/AppService/getDataFromHBase/struct.go @@ -1,9 +1,9 @@ package getDataFromHBase import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/data.go b/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/data.go index 2dccfa653..6c3e49d00 100644 --- a/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/data.go +++ b/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/data.go @@ -1,7 +1,7 @@ package getDataFromHbaseByRowKey import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/struct.go b/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/struct.go index 28547c239..70afbffe7 100644 --- a/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/struct.go +++ b/iSolarCloud/sungro/AppService/getDataFromHbaseByRowKey/struct.go @@ -1,9 +1,9 @@ package getDataFromHbaseByRowKey import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/data.go b/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/data.go index 669168f38..f3d26a496 100644 --- a/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/data.go @@ -1,7 +1,7 @@ package getDevInstalledPowerByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/struct.go b/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/struct.go index 839967c06..b64ec6c6b 100644 --- a/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getDevInstalledPowerByPsId/struct.go @@ -1,9 +1,9 @@ package getDevInstalledPowerByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevRecord/data.go b/iSolarCloud/sungro/AppService/getDevRecord/data.go index 9313472e5..f61851f30 100644 --- a/iSolarCloud/sungro/AppService/getDevRecord/data.go +++ b/iSolarCloud/sungro/AppService/getDevRecord/data.go @@ -1,7 +1,7 @@ package getDevRecord import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevRecord/struct.go b/iSolarCloud/sungro/AppService/getDevRecord/struct.go index 2e1072926..5fe36b016 100644 --- a/iSolarCloud/sungro/AppService/getDevRecord/struct.go +++ b/iSolarCloud/sungro/AppService/getDevRecord/struct.go @@ -1,9 +1,9 @@ package getDevRecord import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevRunRecordList/data.go b/iSolarCloud/sungro/AppService/getDevRunRecordList/data.go index db93f7590..2a308d381 100644 --- a/iSolarCloud/sungro/AppService/getDevRunRecordList/data.go +++ b/iSolarCloud/sungro/AppService/getDevRunRecordList/data.go @@ -1,7 +1,7 @@ package getDevRunRecordList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevRunRecordList/struct.go b/iSolarCloud/sungro/AppService/getDevRunRecordList/struct.go index 5b65ddd0c..795fe224a 100644 --- a/iSolarCloud/sungro/AppService/getDevRunRecordList/struct.go +++ b/iSolarCloud/sungro/AppService/getDevRunRecordList/struct.go @@ -1,9 +1,9 @@ package getDevRunRecordList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevSimByList/data.go b/iSolarCloud/sungro/AppService/getDevSimByList/data.go index a4e7f1bf1..23d1db9ab 100644 --- a/iSolarCloud/sungro/AppService/getDevSimByList/data.go +++ b/iSolarCloud/sungro/AppService/getDevSimByList/data.go @@ -1,7 +1,7 @@ package getDevSimByList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevSimByList/struct.go b/iSolarCloud/sungro/AppService/getDevSimByList/struct.go index 2a5875434..ef2b6104a 100644 --- a/iSolarCloud/sungro/AppService/getDevSimByList/struct.go +++ b/iSolarCloud/sungro/AppService/getDevSimByList/struct.go @@ -1,9 +1,9 @@ package getDevSimByList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevSimList/data.go b/iSolarCloud/sungro/AppService/getDevSimList/data.go index fa764c19a..587cd47d4 100644 --- a/iSolarCloud/sungro/AppService/getDevSimList/data.go +++ b/iSolarCloud/sungro/AppService/getDevSimList/data.go @@ -1,7 +1,7 @@ package getDevSimList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevSimList/struct.go b/iSolarCloud/sungro/AppService/getDevSimList/struct.go index 324ffd123..a08b9673e 100644 --- a/iSolarCloud/sungro/AppService/getDevSimList/struct.go +++ b/iSolarCloud/sungro/AppService/getDevSimList/struct.go @@ -1,9 +1,9 @@ package getDevSimList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceAccountById/data.go b/iSolarCloud/sungro/AppService/getDeviceAccountById/data.go index 51d561e3c..eaaad3abc 100644 --- a/iSolarCloud/sungro/AppService/getDeviceAccountById/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceAccountById/data.go @@ -1,7 +1,7 @@ package getDeviceAccountById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceAccountById/struct.go b/iSolarCloud/sungro/AppService/getDeviceAccountById/struct.go index b3c549fae..c302c5222 100644 --- a/iSolarCloud/sungro/AppService/getDeviceAccountById/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceAccountById/struct.go @@ -1,9 +1,9 @@ package getDeviceAccountById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/data.go b/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/data.go index 2cc263af0..1c4b5822e 100644 --- a/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/data.go @@ -1,7 +1,7 @@ package getDeviceFaultStatisticsData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/struct.go b/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/struct.go index 501598e6b..2baeba686 100644 --- a/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceFaultStatisticsData/struct.go @@ -1,9 +1,9 @@ package getDeviceFaultStatisticsData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceInfo/data.go b/iSolarCloud/sungro/AppService/getDeviceInfo/data.go index 072a69f29..dc8980ef8 100644 --- a/iSolarCloud/sungro/AppService/getDeviceInfo/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceInfo/data.go @@ -1,7 +1,7 @@ package getDeviceInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceInfo/struct.go b/iSolarCloud/sungro/AppService/getDeviceInfo/struct.go index e09524d92..884f4396f 100644 --- a/iSolarCloud/sungro/AppService/getDeviceInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceInfo/struct.go @@ -1,9 +1,9 @@ package getDeviceInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceList/data.go b/iSolarCloud/sungro/AppService/getDeviceList/data.go index 51bbd95d2..24875648d 100644 --- a/iSolarCloud/sungro/AppService/getDeviceList/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceList/data.go @@ -1,7 +1,7 @@ package getDeviceList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceList/struct.go b/iSolarCloud/sungro/AppService/getDeviceList/struct.go index 83a025418..3d3f6d027 100644 --- a/iSolarCloud/sungro/AppService/getDeviceList/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceList/struct.go @@ -1,9 +1,9 @@ package getDeviceList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceModelInfoList/data.go b/iSolarCloud/sungro/AppService/getDeviceModelInfoList/data.go index ae0d47cf2..e981f82e6 100644 --- a/iSolarCloud/sungro/AppService/getDeviceModelInfoList/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceModelInfoList/data.go @@ -1,7 +1,7 @@ package getDeviceModelInfoList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceModelInfoList/struct.go b/iSolarCloud/sungro/AppService/getDeviceModelInfoList/struct.go index 87a41b912..57cc5247c 100644 --- a/iSolarCloud/sungro/AppService/getDeviceModelInfoList/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceModelInfoList/struct.go @@ -1,9 +1,9 @@ package getDeviceModelInfoList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/data.go b/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/data.go index 223b1b9f9..eb33dea2c 100644 --- a/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/data.go +++ b/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/data.go @@ -1,7 +1,7 @@ package getDevicePointMinuteDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/struct.go b/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/struct.go index 01568ff50..92c4c9b8b 100644 --- a/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/struct.go +++ b/iSolarCloud/sungro/AppService/getDevicePointMinuteDataList/struct.go @@ -1,9 +1,9 @@ package getDevicePointMinuteDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevicePoints/data.go b/iSolarCloud/sungro/AppService/getDevicePoints/data.go index 859213c06..0a1a7cfd9 100644 --- a/iSolarCloud/sungro/AppService/getDevicePoints/data.go +++ b/iSolarCloud/sungro/AppService/getDevicePoints/data.go @@ -1,7 +1,7 @@ package getDevicePoints import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevicePoints/struct.go b/iSolarCloud/sungro/AppService/getDevicePoints/struct.go index bbf06b702..9ec9ee756 100644 --- a/iSolarCloud/sungro/AppService/getDevicePoints/struct.go +++ b/iSolarCloud/sungro/AppService/getDevicePoints/struct.go @@ -1,9 +1,9 @@ package getDevicePoints import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDevicePropertys/data.go b/iSolarCloud/sungro/AppService/getDevicePropertys/data.go index 6038e2c60..1c8910b65 100644 --- a/iSolarCloud/sungro/AppService/getDevicePropertys/data.go +++ b/iSolarCloud/sungro/AppService/getDevicePropertys/data.go @@ -1,7 +1,7 @@ package getDevicePropertys import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDevicePropertys/struct.go b/iSolarCloud/sungro/AppService/getDevicePropertys/struct.go index ea1d97ff8..757451045 100644 --- a/iSolarCloud/sungro/AppService/getDevicePropertys/struct.go +++ b/iSolarCloud/sungro/AppService/getDevicePropertys/struct.go @@ -1,9 +1,9 @@ package getDevicePropertys import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceRepairDetail/data.go b/iSolarCloud/sungro/AppService/getDeviceRepairDetail/data.go index 1380d1f77..809f114bc 100644 --- a/iSolarCloud/sungro/AppService/getDeviceRepairDetail/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceRepairDetail/data.go @@ -1,7 +1,7 @@ package getDeviceRepairDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceRepairDetail/struct.go b/iSolarCloud/sungro/AppService/getDeviceRepairDetail/struct.go index 430864839..1e190fe0c 100644 --- a/iSolarCloud/sungro/AppService/getDeviceRepairDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceRepairDetail/struct.go @@ -1,9 +1,9 @@ package getDeviceRepairDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/data.go b/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/data.go index 05303db71..2eea68f69 100644 --- a/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/data.go @@ -1,7 +1,7 @@ package getDeviceTechBranchCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/struct.go b/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/struct.go index 8bae70ca8..85b42a991 100644 --- a/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceTechBranchCount/struct.go @@ -1,9 +1,9 @@ package getDeviceTechBranchCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/data.go b/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/data.go index 79667d6c7..0eba6e30c 100644 --- a/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/data.go @@ -1,7 +1,7 @@ package getDeviceTypeInfoList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/struct.go b/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/struct.go index 7c7472199..81d3b53ed 100644 --- a/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceTypeInfoList/struct.go @@ -1,9 +1,9 @@ package getDeviceTypeInfoList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDeviceTypeList/data.go b/iSolarCloud/sungro/AppService/getDeviceTypeList/data.go index 455e6a1ca..48b080d16 100644 --- a/iSolarCloud/sungro/AppService/getDeviceTypeList/data.go +++ b/iSolarCloud/sungro/AppService/getDeviceTypeList/data.go @@ -1,7 +1,7 @@ package getDeviceTypeList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDeviceTypeList/struct.go b/iSolarCloud/sungro/AppService/getDeviceTypeList/struct.go index 0a9a76d51..7d9621399 100644 --- a/iSolarCloud/sungro/AppService/getDeviceTypeList/struct.go +++ b/iSolarCloud/sungro/AppService/getDeviceTypeList/struct.go @@ -1,9 +1,9 @@ package getDeviceTypeList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getDstInfo/data.go b/iSolarCloud/sungro/AppService/getDstInfo/data.go index 690910bde..fb26dd33b 100644 --- a/iSolarCloud/sungro/AppService/getDstInfo/data.go +++ b/iSolarCloud/sungro/AppService/getDstInfo/data.go @@ -1,7 +1,7 @@ package getDstInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getDstInfo/struct.go b/iSolarCloud/sungro/AppService/getDstInfo/struct.go index 473cb2f0b..a74bbefb7 100644 --- a/iSolarCloud/sungro/AppService/getDstInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getDstInfo/struct.go @@ -1,9 +1,9 @@ package getDstInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getElectricitySettlementData/data.go b/iSolarCloud/sungro/AppService/getElectricitySettlementData/data.go index 1127d3796..caa383577 100644 --- a/iSolarCloud/sungro/AppService/getElectricitySettlementData/data.go +++ b/iSolarCloud/sungro/AppService/getElectricitySettlementData/data.go @@ -1,7 +1,7 @@ package getElectricitySettlementData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getElectricitySettlementData/struct.go b/iSolarCloud/sungro/AppService/getElectricitySettlementData/struct.go index 67debfed7..7958b7d68 100644 --- a/iSolarCloud/sungro/AppService/getElectricitySettlementData/struct.go +++ b/iSolarCloud/sungro/AppService/getElectricitySettlementData/struct.go @@ -1,9 +1,9 @@ package getElectricitySettlementData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/data.go b/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/data.go index 677f4de57..4353f66a5 100644 --- a/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/data.go +++ b/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/data.go @@ -1,7 +1,7 @@ package getElectricitySettlementDetailData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/struct.go b/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/struct.go index dd2874f2e..f415fc059 100644 --- a/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/struct.go +++ b/iSolarCloud/sungro/AppService/getElectricitySettlementDetailData/struct.go @@ -1,9 +1,9 @@ package getElectricitySettlementDetailData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getEncryptPublicKey/data.go b/iSolarCloud/sungro/AppService/getEncryptPublicKey/data.go index 29992ff8c..19aa16aa1 100644 --- a/iSolarCloud/sungro/AppService/getEncryptPublicKey/data.go +++ b/iSolarCloud/sungro/AppService/getEncryptPublicKey/data.go @@ -1,7 +1,7 @@ package getEncryptPublicKey import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getEncryptPublicKey/struct.go b/iSolarCloud/sungro/AppService/getEncryptPublicKey/struct.go index e4d09ff4c..022038f0c 100644 --- a/iSolarCloud/sungro/AppService/getEncryptPublicKey/struct.go +++ b/iSolarCloud/sungro/AppService/getEncryptPublicKey/struct.go @@ -1,9 +1,9 @@ package getEncryptPublicKey import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFaultCount/data.go b/iSolarCloud/sungro/AppService/getFaultCount/data.go index 46e455c29..20031aad1 100644 --- a/iSolarCloud/sungro/AppService/getFaultCount/data.go +++ b/iSolarCloud/sungro/AppService/getFaultCount/data.go @@ -1,7 +1,7 @@ package getFaultCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFaultCount/struct.go b/iSolarCloud/sungro/AppService/getFaultCount/struct.go index d92f3fa6e..804964e59 100644 --- a/iSolarCloud/sungro/AppService/getFaultCount/struct.go +++ b/iSolarCloud/sungro/AppService/getFaultCount/struct.go @@ -1,9 +1,9 @@ package getFaultCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFaultDetail/data.go b/iSolarCloud/sungro/AppService/getFaultDetail/data.go index 834510838..7cb4fdb6c 100644 --- a/iSolarCloud/sungro/AppService/getFaultDetail/data.go +++ b/iSolarCloud/sungro/AppService/getFaultDetail/data.go @@ -1,7 +1,7 @@ package getFaultDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFaultDetail/struct.go b/iSolarCloud/sungro/AppService/getFaultDetail/struct.go index 428fb783a..51610f8e5 100644 --- a/iSolarCloud/sungro/AppService/getFaultDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getFaultDetail/struct.go @@ -1,9 +1,9 @@ package getFaultDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/data.go b/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/data.go index 664660f57..90a0a6306 100644 --- a/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/data.go +++ b/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/data.go @@ -1,7 +1,7 @@ package getFaultMsgByFaultCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/struct.go b/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/struct.go index 098c40f34..b00746d83 100644 --- a/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/struct.go +++ b/iSolarCloud/sungro/AppService/getFaultMsgByFaultCode/struct.go @@ -1,9 +1,9 @@ package getFaultMsgByFaultCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/data.go b/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/data.go index cf1ce3558..5a0616227 100644 --- a/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/data.go +++ b/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/data.go @@ -1,7 +1,7 @@ package getFaultMsgListByPageWithYYYYMM import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/struct.go b/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/struct.go index e5b86e5a0..cd8b1b6a9 100644 --- a/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/struct.go +++ b/iSolarCloud/sungro/AppService/getFaultMsgListByPageWithYYYYMM/struct.go @@ -1,9 +1,9 @@ package getFaultMsgListByPageWithYYYYMM import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/data.go b/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/data.go index f982b49c3..b839db4a3 100644 --- a/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/data.go +++ b/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/data.go @@ -1,7 +1,7 @@ package getFaultMsgListWithYYYYMM import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/struct.go b/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/struct.go index a82850c38..67ac6e98c 100644 --- a/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/struct.go +++ b/iSolarCloud/sungro/AppService/getFaultMsgListWithYYYYMM/struct.go @@ -1,9 +1,9 @@ package getFaultMsgListWithYYYYMM import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFaultPlanList/data.go b/iSolarCloud/sungro/AppService/getFaultPlanList/data.go index b651458fd..3dd826426 100644 --- a/iSolarCloud/sungro/AppService/getFaultPlanList/data.go +++ b/iSolarCloud/sungro/AppService/getFaultPlanList/data.go @@ -1,7 +1,7 @@ package getFaultPlanList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFaultPlanList/struct.go b/iSolarCloud/sungro/AppService/getFaultPlanList/struct.go index cf197b889..e087d1142 100644 --- a/iSolarCloud/sungro/AppService/getFaultPlanList/struct.go +++ b/iSolarCloud/sungro/AppService/getFaultPlanList/struct.go @@ -1,9 +1,9 @@ package getFaultPlanList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFileOperationRecordOne/data.go b/iSolarCloud/sungro/AppService/getFileOperationRecordOne/data.go index 556c597bc..fa03407c8 100644 --- a/iSolarCloud/sungro/AppService/getFileOperationRecordOne/data.go +++ b/iSolarCloud/sungro/AppService/getFileOperationRecordOne/data.go @@ -1,7 +1,7 @@ package getFileOperationRecordOne import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFileOperationRecordOne/struct.go b/iSolarCloud/sungro/AppService/getFileOperationRecordOne/struct.go index d4ab98457..2107e8970 100644 --- a/iSolarCloud/sungro/AppService/getFileOperationRecordOne/struct.go +++ b/iSolarCloud/sungro/AppService/getFileOperationRecordOne/struct.go @@ -1,9 +1,9 @@ package getFileOperationRecordOne import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/data.go b/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/data.go index c8e7a3270..0a26a0e3f 100644 --- a/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/data.go +++ b/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/data.go @@ -1,7 +1,7 @@ package getFormulaFaultAnalyseList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/struct.go b/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/struct.go index 977940361..5b42c3cb0 100644 --- a/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/struct.go +++ b/iSolarCloud/sungro/AppService/getFormulaFaultAnalyseList/struct.go @@ -1,9 +1,9 @@ package getFormulaFaultAnalyseList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getGroupStringCheckResult/data.go b/iSolarCloud/sungro/AppService/getGroupStringCheckResult/data.go index f28e485e5..4aecb9d69 100644 --- a/iSolarCloud/sungro/AppService/getGroupStringCheckResult/data.go +++ b/iSolarCloud/sungro/AppService/getGroupStringCheckResult/data.go @@ -1,7 +1,7 @@ package getGroupStringCheckResult import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getGroupStringCheckResult/struct.go b/iSolarCloud/sungro/AppService/getGroupStringCheckResult/struct.go index 778dfcf96..7c07f270c 100644 --- a/iSolarCloud/sungro/AppService/getGroupStringCheckResult/struct.go +++ b/iSolarCloud/sungro/AppService/getGroupStringCheckResult/struct.go @@ -1,9 +1,9 @@ package getGroupStringCheckResult import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getGroupStringCheckRule/data.go b/iSolarCloud/sungro/AppService/getGroupStringCheckRule/data.go index 3bc11ab8f..2757cc45e 100644 --- a/iSolarCloud/sungro/AppService/getGroupStringCheckRule/data.go +++ b/iSolarCloud/sungro/AppService/getGroupStringCheckRule/data.go @@ -1,7 +1,7 @@ package getGroupStringCheckRule import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getGroupStringCheckRule/struct.go b/iSolarCloud/sungro/AppService/getGroupStringCheckRule/struct.go index b9a878929..4ca0c97a5 100644 --- a/iSolarCloud/sungro/AppService/getGroupStringCheckRule/struct.go +++ b/iSolarCloud/sungro/AppService/getGroupStringCheckRule/struct.go @@ -1,9 +1,9 @@ package getGroupStringCheckRule import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHisData/data.go b/iSolarCloud/sungro/AppService/getHisData/data.go index 3848578e2..ea8b9d1af 100644 --- a/iSolarCloud/sungro/AppService/getHisData/data.go +++ b/iSolarCloud/sungro/AppService/getHisData/data.go @@ -1,7 +1,7 @@ package getHisData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHisData/struct.go b/iSolarCloud/sungro/AppService/getHisData/struct.go index 8478f3c32..9deca12a6 100644 --- a/iSolarCloud/sungro/AppService/getHisData/struct.go +++ b/iSolarCloud/sungro/AppService/getHisData/struct.go @@ -1,9 +1,9 @@ package getHisData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHistoryInfo/data.go b/iSolarCloud/sungro/AppService/getHistoryInfo/data.go index b1323c0c9..ab05cb32c 100644 --- a/iSolarCloud/sungro/AppService/getHistoryInfo/data.go +++ b/iSolarCloud/sungro/AppService/getHistoryInfo/data.go @@ -1,13 +1,13 @@ package getHistoryInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" + "errors" "fmt" ) - -const Url = "" - +const Url = "/v1/powerStationService/getHistoryInfo" +const Disabled = true type RequestData struct { // DeviceType string `json:"device_type" required:"true"` @@ -22,6 +22,36 @@ func (rd RequestData) Help() string { return ret } - type ResultData struct { + Dummy string `json:"dummy"` } + +func (e *ResultData) IsValid() error { + var err error + switch { + case e.Dummy == "": + break + default: + err = errors.New(fmt.Sprintf("unknown error '%s'", e.Dummy)) + } + return err +} + +//type DecodeResultData ResultData +// +//func (e *ResultData) UnmarshalJSON(data []byte) error { +// var err error +// +// for range Only.Once { +// if len(data) == 0 { +// break +// } +// var pd DecodeResultData +// +// // Store ResultData +// _ = json.Unmarshal(data, &pd) +// e.Dummy = pd.Dummy +// } +// +// return err +//} diff --git a/iSolarCloud/sungro/AppService/getHistoryInfo/struct.go b/iSolarCloud/sungro/AppService/getHistoryInfo/struct.go index f1ba95206..eadbf95c5 100644 --- a/iSolarCloud/sungro/AppService/getHistoryInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getHistoryInfo/struct.go @@ -1,20 +1,19 @@ package getHistoryInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" ) - var _ api.EndPoint = (*EndPoint)(nil) type EndPoint struct { api.EndPointStruct - Request Request + Request Request Response Response } @@ -29,8 +28,8 @@ type Response struct { } func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { + return EndPoint{ + EndPointStruct: api.EndPointStruct{ ApiRoot: apiRoot, Area: api.GetArea(EndPoint{}), Name: api.GetName(EndPoint{}), @@ -42,7 +41,6 @@ func Init(apiRoot *api.Web) EndPoint { } } - // **************************************** // Methods not scoped by api.EndPoint interface type @@ -63,7 +61,6 @@ func Assert(e api.EndPoint) EndPoint { return e.(EndPoint) } - // **************************************** // Methods defined by api.EndPoint interface type @@ -90,8 +87,12 @@ func (e EndPoint) Call() api.EndPoint { return e.ApiRoot.Get(e) } -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) +func (e EndPoint) GetData(raw bool) api.Json { + if raw { + return api.Json(e.ApiRoot.Body) + } else { + return api.GetAsPrettyJson(e.Response.ResultData) + } } func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { @@ -139,10 +140,6 @@ func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { if e.Error != nil { break } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } } return e } @@ -157,13 +154,13 @@ func (e EndPoint) GetRequestJson() api.Json { func (e EndPoint) IsRequestValid() error { for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() + //req := e.GetRequest() + //req := e.Request.RequestCommon + e.Error = e.Request.RequestCommon.IsValid() if e.Error != nil { break } - e.Error = req.RequestData.IsValid() + e.Error = e.Request.RequestData.IsValid() if e.Error != nil { break } @@ -173,13 +170,10 @@ func (e EndPoint) IsRequestValid() error { func (e EndPoint) SetResponse(ref []byte) api.EndPoint { for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) e.Error = json.Unmarshal(ref, &e.Response) if e.Error != nil { break } - // e.ResponseCommon = r } return e } @@ -194,12 +188,14 @@ func (e EndPoint) ResponseRef() interface{} { func (e EndPoint) IsResponseValid() error { for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() e.Error = e.Response.ResponseCommon.IsValid() if e.Error != nil { break } + e.Error = e.Response.ResultData.IsValid() + if e.Error != nil { + break + } } return e.Error } @@ -218,4 +214,20 @@ func (e EndPoint) ResponseString() string { func (e EndPoint) MarshalJSON() ([]byte, error) { return api.MarshalJSON(e) + + // return json.Marshal(&struct { + // Area string `json:"area"` + // EndPoint string `json:"endpoint"` + // Host string `json:"api_host"` + // Url string `json:"endpoint_url"` + // Request interface{} `json:"request"` + // Response interface{} `json:"response"` + // }{ + // Area: string(e.Area), + // EndPoint: string(e.Name), + // Host: e.ApiRoot.Url.String(), + // Url: e.Url.String(), + // Request: e.Request, + // Response: e.Response, + // }) } diff --git a/iSolarCloud/sungro/AppService/getHouseholdEvaluation/data.go b/iSolarCloud/sungro/AppService/getHouseholdEvaluation/data.go index 9f056cc18..44e687924 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdEvaluation/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdEvaluation/data.go @@ -1,7 +1,7 @@ package getHouseholdEvaluation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdEvaluation/struct.go b/iSolarCloud/sungro/AppService/getHouseholdEvaluation/struct.go index d505cc19b..1f5a00fb8 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdEvaluation/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdEvaluation/struct.go @@ -1,9 +1,9 @@ package getHouseholdEvaluation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/data.go b/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/data.go index 017358021..a39a1db44 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/data.go @@ -1,7 +1,7 @@ package getHouseholdLeaveMessage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/struct.go b/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/struct.go index a39c03310..62fe82fcb 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdLeaveMessage/struct.go @@ -1,9 +1,9 @@ package getHouseholdLeaveMessage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/data.go b/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/data.go index 36308a9ed..fa61adb1b 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/data.go @@ -1,7 +1,7 @@ package getHouseholdOpinionFeedback import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/struct.go b/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/struct.go index e89723189..4e272ed0f 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdOpinionFeedback/struct.go @@ -1,9 +1,9 @@ package getHouseholdOpinionFeedback import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/data.go b/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/data.go index 892e84a12..40898cda3 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/data.go @@ -1,7 +1,7 @@ package getHouseholdPsInstallerByUserId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/struct.go b/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/struct.go index 9ac4f1450..1e451c9d6 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdPsInstallerByUserId/struct.go @@ -1,9 +1,9 @@ package getHouseholdPsInstallerByUserId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/data.go b/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/data.go index 33a5d0cfe..9203581e0 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/data.go @@ -1,8 +1,8 @@ package getHouseholdStoragePsReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "fmt" "strings" diff --git a/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/struct.go b/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/struct.go index 2cd93228d..fafecdf00 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport/struct.go @@ -1,9 +1,9 @@ package getHouseholdStoragePsReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdUserInfo/data.go b/iSolarCloud/sungro/AppService/getHouseholdUserInfo/data.go index 4649546a0..cd1446466 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdUserInfo/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdUserInfo/data.go @@ -1,7 +1,7 @@ package getHouseholdUserInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdUserInfo/struct.go b/iSolarCloud/sungro/AppService/getHouseholdUserInfo/struct.go index 081be5e43..d4225bb8e 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdUserInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdUserInfo/struct.go @@ -1,9 +1,9 @@ package getHouseholdUserInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/data.go b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/data.go index 39f684d5c..508e760ff 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/data.go @@ -1,7 +1,7 @@ package getHouseholdWorkOrderInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/struct.go b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/struct.go index d20df09c2..ac44e7910 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderInfo/struct.go @@ -1,9 +1,9 @@ package getHouseholdWorkOrderInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/data.go b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/data.go index d62b67458..9bd5ade18 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/data.go +++ b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/data.go @@ -1,7 +1,7 @@ package getHouseholdWorkOrderList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/struct.go b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/struct.go index 75bb875d9..d9d807a88 100644 --- a/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/struct.go +++ b/iSolarCloud/sungro/AppService/getHouseholdWorkOrderList/struct.go @@ -1,9 +1,9 @@ package getHouseholdWorkOrderList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getI18nConfigByType/data.go b/iSolarCloud/sungro/AppService/getI18nConfigByType/data.go index 4834cf04c..8673ca4b8 100644 --- a/iSolarCloud/sungro/AppService/getI18nConfigByType/data.go +++ b/iSolarCloud/sungro/AppService/getI18nConfigByType/data.go @@ -1,7 +1,7 @@ package getI18nConfigByType import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getI18nConfigByType/struct.go b/iSolarCloud/sungro/AppService/getI18nConfigByType/struct.go index 1e859c83c..07183dbb0 100644 --- a/iSolarCloud/sungro/AppService/getI18nConfigByType/struct.go +++ b/iSolarCloud/sungro/AppService/getI18nConfigByType/struct.go @@ -1,9 +1,9 @@ package getI18nConfigByType import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getI18nFileInfo/data.go b/iSolarCloud/sungro/AppService/getI18nFileInfo/data.go index 68bf27c9e..414f40c9c 100644 --- a/iSolarCloud/sungro/AppService/getI18nFileInfo/data.go +++ b/iSolarCloud/sungro/AppService/getI18nFileInfo/data.go @@ -1,7 +1,7 @@ package getI18nFileInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getI18nFileInfo/struct.go b/iSolarCloud/sungro/AppService/getI18nFileInfo/struct.go index 6a50b3c0e..b4af00417 100644 --- a/iSolarCloud/sungro/AppService/getI18nFileInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getI18nFileInfo/struct.go @@ -1,9 +1,9 @@ package getI18nFileInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getI18nInfoByKey/data.go b/iSolarCloud/sungro/AppService/getI18nInfoByKey/data.go index 119ac04f4..aa8e956a1 100644 --- a/iSolarCloud/sungro/AppService/getI18nInfoByKey/data.go +++ b/iSolarCloud/sungro/AppService/getI18nInfoByKey/data.go @@ -1,7 +1,7 @@ package getI18nInfoByKey import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getI18nInfoByKey/struct.go b/iSolarCloud/sungro/AppService/getI18nInfoByKey/struct.go index 67baa2f32..f7ad883ae 100644 --- a/iSolarCloud/sungro/AppService/getI18nInfoByKey/struct.go +++ b/iSolarCloud/sungro/AppService/getI18nInfoByKey/struct.go @@ -1,9 +1,9 @@ package getI18nInfoByKey import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getI18nVersion/data.go b/iSolarCloud/sungro/AppService/getI18nVersion/data.go index 7e5ce1764..0b261dab8 100644 --- a/iSolarCloud/sungro/AppService/getI18nVersion/data.go +++ b/iSolarCloud/sungro/AppService/getI18nVersion/data.go @@ -1,7 +1,7 @@ package getI18nVersion import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getI18nVersion/struct.go b/iSolarCloud/sungro/AppService/getI18nVersion/struct.go index 0a5c515db..483844072 100644 --- a/iSolarCloud/sungro/AppService/getI18nVersion/struct.go +++ b/iSolarCloud/sungro/AppService/getI18nVersion/struct.go @@ -1,9 +1,9 @@ package getI18nVersion import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getIncomeSettingInfos/data.go b/iSolarCloud/sungro/AppService/getIncomeSettingInfos/data.go index a626ed1bb..6f0dd613d 100644 --- a/iSolarCloud/sungro/AppService/getIncomeSettingInfos/data.go +++ b/iSolarCloud/sungro/AppService/getIncomeSettingInfos/data.go @@ -1,7 +1,7 @@ package getIncomeSettingInfos import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getIncomeSettingInfos/struct.go b/iSolarCloud/sungro/AppService/getIncomeSettingInfos/struct.go index be42f8fde..716a6288d 100644 --- a/iSolarCloud/sungro/AppService/getIncomeSettingInfos/struct.go +++ b/iSolarCloud/sungro/AppService/getIncomeSettingInfos/struct.go @@ -1,9 +1,9 @@ package getIncomeSettingInfos import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInfoFromAMap/data.go b/iSolarCloud/sungro/AppService/getInfoFromAMap/data.go index 1b48a8064..f0e286a35 100644 --- a/iSolarCloud/sungro/AppService/getInfoFromAMap/data.go +++ b/iSolarCloud/sungro/AppService/getInfoFromAMap/data.go @@ -1,7 +1,7 @@ package getInfoFromAMap import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInfoFromAMap/struct.go b/iSolarCloud/sungro/AppService/getInfoFromAMap/struct.go index 0386c97f7..06780e5cc 100644 --- a/iSolarCloud/sungro/AppService/getInfoFromAMap/struct.go +++ b/iSolarCloud/sungro/AppService/getInfoFromAMap/struct.go @@ -1,9 +1,9 @@ package getInfoFromAMap import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInfomationFromRedis/data.go b/iSolarCloud/sungro/AppService/getInfomationFromRedis/data.go index 254e2dd1d..053193aff 100644 --- a/iSolarCloud/sungro/AppService/getInfomationFromRedis/data.go +++ b/iSolarCloud/sungro/AppService/getInfomationFromRedis/data.go @@ -1,7 +1,7 @@ package getInfomationFromRedis import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInfomationFromRedis/struct.go b/iSolarCloud/sungro/AppService/getInfomationFromRedis/struct.go index 5fa2f400a..bebc46fe6 100644 --- a/iSolarCloud/sungro/AppService/getInfomationFromRedis/struct.go +++ b/iSolarCloud/sungro/AppService/getInfomationFromRedis/struct.go @@ -1,9 +1,9 @@ package getInfomationFromRedis import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInstallInfoList/data.go b/iSolarCloud/sungro/AppService/getInstallInfoList/data.go index 50ef4a3d5..5042cb52c 100644 --- a/iSolarCloud/sungro/AppService/getInstallInfoList/data.go +++ b/iSolarCloud/sungro/AppService/getInstallInfoList/data.go @@ -1,7 +1,7 @@ package getInstallInfoList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInstallInfoList/struct.go b/iSolarCloud/sungro/AppService/getInstallInfoList/struct.go index 625591037..dd832f823 100644 --- a/iSolarCloud/sungro/AppService/getInstallInfoList/struct.go +++ b/iSolarCloud/sungro/AppService/getInstallInfoList/struct.go @@ -1,9 +1,9 @@ package getInstallInfoList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go b/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go index 9f6ae52e7..4e551d4b7 100644 --- a/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go +++ b/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/data.go @@ -1,7 +1,7 @@ package getInstallerInfoByDealerOrgCodeOrId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go b/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go index c56d27b4d..341a4d33f 100644 --- a/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go +++ b/iSolarCloud/sungro/AppService/getInstallerInfoByDealerOrgCodeOrId/struct.go @@ -1,9 +1,9 @@ package getInstallerInfoByDealerOrgCodeOrId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInvertDataList/data.go b/iSolarCloud/sungro/AppService/getInvertDataList/data.go index 397d4e42e..141c68734 100644 --- a/iSolarCloud/sungro/AppService/getInvertDataList/data.go +++ b/iSolarCloud/sungro/AppService/getInvertDataList/data.go @@ -1,7 +1,7 @@ package getInvertDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInvertDataList/struct.go b/iSolarCloud/sungro/AppService/getInvertDataList/struct.go index 025a3c90b..030f1ad67 100644 --- a/iSolarCloud/sungro/AppService/getInvertDataList/struct.go +++ b/iSolarCloud/sungro/AppService/getInvertDataList/struct.go @@ -1,9 +1,9 @@ package getInvertDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInverterDataCount/data.go b/iSolarCloud/sungro/AppService/getInverterDataCount/data.go index 5a748fea1..bc0d4a6cf 100644 --- a/iSolarCloud/sungro/AppService/getInverterDataCount/data.go +++ b/iSolarCloud/sungro/AppService/getInverterDataCount/data.go @@ -1,7 +1,7 @@ package getInverterDataCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInverterDataCount/struct.go b/iSolarCloud/sungro/AppService/getInverterDataCount/struct.go index 73c83e39a..4d93c2fc4 100644 --- a/iSolarCloud/sungro/AppService/getInverterDataCount/struct.go +++ b/iSolarCloud/sungro/AppService/getInverterDataCount/struct.go @@ -1,9 +1,9 @@ package getInverterDataCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInverterProcess/data.go b/iSolarCloud/sungro/AppService/getInverterProcess/data.go index dbaa93597..e22b6db89 100644 --- a/iSolarCloud/sungro/AppService/getInverterProcess/data.go +++ b/iSolarCloud/sungro/AppService/getInverterProcess/data.go @@ -1,7 +1,7 @@ package getInverterProcess import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInverterProcess/struct.go b/iSolarCloud/sungro/AppService/getInverterProcess/struct.go index ea7f8c2ac..68c81aceb 100644 --- a/iSolarCloud/sungro/AppService/getInverterProcess/struct.go +++ b/iSolarCloud/sungro/AppService/getInverterProcess/struct.go @@ -1,9 +1,9 @@ package getInverterProcess import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/data.go b/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/data.go index 154bd5bc6..73fbb164d 100644 --- a/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/data.go +++ b/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/data.go @@ -1,7 +1,7 @@ package getInverterUuidBytotalId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/struct.go b/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/struct.go index 3ea42420f..4309b62b7 100644 --- a/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/struct.go +++ b/iSolarCloud/sungro/AppService/getInverterUuidBytotalId/struct.go @@ -1,9 +1,9 @@ package getInverterUuidBytotalId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getIvEchartsData/data.go b/iSolarCloud/sungro/AppService/getIvEchartsData/data.go index 4145d57be..4ee8854f4 100644 --- a/iSolarCloud/sungro/AppService/getIvEchartsData/data.go +++ b/iSolarCloud/sungro/AppService/getIvEchartsData/data.go @@ -1,7 +1,7 @@ package getIvEchartsData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getIvEchartsData/struct.go b/iSolarCloud/sungro/AppService/getIvEchartsData/struct.go index 58fb7ee8c..6b1320633 100644 --- a/iSolarCloud/sungro/AppService/getIvEchartsData/struct.go +++ b/iSolarCloud/sungro/AppService/getIvEchartsData/struct.go @@ -1,9 +1,9 @@ package getIvEchartsData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getIvEchartsDataById/data.go b/iSolarCloud/sungro/AppService/getIvEchartsDataById/data.go index 7dfe667a6..f35291d83 100644 --- a/iSolarCloud/sungro/AppService/getIvEchartsDataById/data.go +++ b/iSolarCloud/sungro/AppService/getIvEchartsDataById/data.go @@ -1,7 +1,7 @@ package getIvEchartsDataById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getIvEchartsDataById/struct.go b/iSolarCloud/sungro/AppService/getIvEchartsDataById/struct.go index d2c0a77a5..c4a9cea1d 100644 --- a/iSolarCloud/sungro/AppService/getIvEchartsDataById/struct.go +++ b/iSolarCloud/sungro/AppService/getIvEchartsDataById/struct.go @@ -1,9 +1,9 @@ package getIvEchartsDataById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getKpiInfo/data.go b/iSolarCloud/sungro/AppService/getKpiInfo/data.go index a8b584f65..eff6a19b3 100644 --- a/iSolarCloud/sungro/AppService/getKpiInfo/data.go +++ b/iSolarCloud/sungro/AppService/getKpiInfo/data.go @@ -1,7 +1,7 @@ package getKpiInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getKpiInfo/struct.go b/iSolarCloud/sungro/AppService/getKpiInfo/struct.go index fca2589d0..69689d97e 100644 --- a/iSolarCloud/sungro/AppService/getKpiInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getKpiInfo/struct.go @@ -1,9 +1,9 @@ package getKpiInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getListMiFromHBase/data.go b/iSolarCloud/sungro/AppService/getListMiFromHBase/data.go index ab23b2daf..b56ac43ba 100644 --- a/iSolarCloud/sungro/AppService/getListMiFromHBase/data.go +++ b/iSolarCloud/sungro/AppService/getListMiFromHBase/data.go @@ -1,7 +1,7 @@ package getListMiFromHBase import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getListMiFromHBase/struct.go b/iSolarCloud/sungro/AppService/getListMiFromHBase/struct.go index 6194afbd7..de3f15748 100644 --- a/iSolarCloud/sungro/AppService/getListMiFromHBase/struct.go +++ b/iSolarCloud/sungro/AppService/getListMiFromHBase/struct.go @@ -1,9 +1,9 @@ package getListMiFromHBase import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getMapInfo/data.go b/iSolarCloud/sungro/AppService/getMapInfo/data.go index eb9b3c523..e9d0f66e7 100644 --- a/iSolarCloud/sungro/AppService/getMapInfo/data.go +++ b/iSolarCloud/sungro/AppService/getMapInfo/data.go @@ -1,7 +1,7 @@ package getMapInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getMapInfo/struct.go b/iSolarCloud/sungro/AppService/getMapInfo/struct.go index 596a8fc3e..d536b454c 100644 --- a/iSolarCloud/sungro/AppService/getMapInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getMapInfo/struct.go @@ -1,9 +1,9 @@ package getMapInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getMapMiFromHBase/data.go b/iSolarCloud/sungro/AppService/getMapMiFromHBase/data.go index 6ac674abb..8e7c43c0f 100644 --- a/iSolarCloud/sungro/AppService/getMapMiFromHBase/data.go +++ b/iSolarCloud/sungro/AppService/getMapMiFromHBase/data.go @@ -1,7 +1,7 @@ package getMapMiFromHBase import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getMapMiFromHBase/struct.go b/iSolarCloud/sungro/AppService/getMapMiFromHBase/struct.go index 266b387be..d99572370 100644 --- a/iSolarCloud/sungro/AppService/getMapMiFromHBase/struct.go +++ b/iSolarCloud/sungro/AppService/getMapMiFromHBase/struct.go @@ -1,9 +1,9 @@ package getMapMiFromHBase import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getMenuAndPrivileges/data.go b/iSolarCloud/sungro/AppService/getMenuAndPrivileges/data.go index 139439df6..94eb3f3e8 100644 --- a/iSolarCloud/sungro/AppService/getMenuAndPrivileges/data.go +++ b/iSolarCloud/sungro/AppService/getMenuAndPrivileges/data.go @@ -1,7 +1,7 @@ package getMenuAndPrivileges import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getMenuAndPrivileges/struct.go b/iSolarCloud/sungro/AppService/getMenuAndPrivileges/struct.go index e78520ca9..61d7e9c73 100644 --- a/iSolarCloud/sungro/AppService/getMenuAndPrivileges/struct.go +++ b/iSolarCloud/sungro/AppService/getMenuAndPrivileges/struct.go @@ -1,9 +1,9 @@ package getMenuAndPrivileges import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/data.go b/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/data.go index ebaaaf43e..d2d8a65c6 100644 --- a/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/data.go +++ b/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/data.go @@ -1,7 +1,7 @@ package getMicrogridEStoragePsReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/struct.go b/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/struct.go index 180d8acd1..0f47e086a 100644 --- a/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/struct.go +++ b/iSolarCloud/sungro/AppService/getMicrogridEStoragePsReport/struct.go @@ -1,9 +1,9 @@ package getMicrogridEStoragePsReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getModuleLogInfo/data.go b/iSolarCloud/sungro/AppService/getModuleLogInfo/data.go index 0c31b4034..47985f560 100644 --- a/iSolarCloud/sungro/AppService/getModuleLogInfo/data.go +++ b/iSolarCloud/sungro/AppService/getModuleLogInfo/data.go @@ -1,7 +1,7 @@ package getModuleLogInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getModuleLogInfo/struct.go b/iSolarCloud/sungro/AppService/getModuleLogInfo/struct.go index 4d45cca4e..b283a6cf0 100644 --- a/iSolarCloud/sungro/AppService/getModuleLogInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getModuleLogInfo/struct.go @@ -1,9 +1,9 @@ package getModuleLogInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getModuleLogTaskList/data.go b/iSolarCloud/sungro/AppService/getModuleLogTaskList/data.go index 8a56de18d..3067ab8e4 100644 --- a/iSolarCloud/sungro/AppService/getModuleLogTaskList/data.go +++ b/iSolarCloud/sungro/AppService/getModuleLogTaskList/data.go @@ -1,7 +1,7 @@ package getModuleLogTaskList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getModuleLogTaskList/struct.go b/iSolarCloud/sungro/AppService/getModuleLogTaskList/struct.go index 3b1affb14..63a5a1d5d 100644 --- a/iSolarCloud/sungro/AppService/getModuleLogTaskList/struct.go +++ b/iSolarCloud/sungro/AppService/getModuleLogTaskList/struct.go @@ -1,9 +1,9 @@ package getModuleLogTaskList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getNationProvJSON/data.go b/iSolarCloud/sungro/AppService/getNationProvJSON/data.go index dc933afe5..7d431a0ac 100644 --- a/iSolarCloud/sungro/AppService/getNationProvJSON/data.go +++ b/iSolarCloud/sungro/AppService/getNationProvJSON/data.go @@ -1,7 +1,7 @@ package getNationProvJSON import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getNationProvJSON/struct.go b/iSolarCloud/sungro/AppService/getNationProvJSON/struct.go index 336b1a7c3..bc9b1e97d 100644 --- a/iSolarCloud/sungro/AppService/getNationProvJSON/struct.go +++ b/iSolarCloud/sungro/AppService/getNationProvJSON/struct.go @@ -1,9 +1,9 @@ package getNationProvJSON import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/data.go b/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/data.go index eba5dcd77..b2b190939 100644 --- a/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/data.go +++ b/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/data.go @@ -1,7 +1,7 @@ package getNeedOpAsynOpRecordList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/struct.go b/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/struct.go index 6903ed236..b3828dcee 100644 --- a/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/struct.go +++ b/iSolarCloud/sungro/AppService/getNeedOpAsynOpRecordList/struct.go @@ -1,9 +1,9 @@ package getNeedOpAsynOpRecordList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getNoticeInfo/data.go b/iSolarCloud/sungro/AppService/getNoticeInfo/data.go index a047c0287..30fc48085 100644 --- a/iSolarCloud/sungro/AppService/getNoticeInfo/data.go +++ b/iSolarCloud/sungro/AppService/getNoticeInfo/data.go @@ -1,7 +1,7 @@ package getNoticeInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getNoticeInfo/struct.go b/iSolarCloud/sungro/AppService/getNoticeInfo/struct.go index f4e9324c0..7238ce15c 100644 --- a/iSolarCloud/sungro/AppService/getNoticeInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getNoticeInfo/struct.go @@ -1,9 +1,9 @@ package getNoticeInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/data.go b/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/data.go index 8547f14c1..f4667c36a 100644 --- a/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/data.go +++ b/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/data.go @@ -1,7 +1,7 @@ package getNumberOfServiceCalls import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/struct.go b/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/struct.go index fa653b704..5b9f794dc 100644 --- a/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/struct.go +++ b/iSolarCloud/sungro/AppService/getNumberOfServiceCalls/struct.go @@ -1,9 +1,9 @@ package getNumberOfServiceCalls import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOSSConfig/data.go b/iSolarCloud/sungro/AppService/getOSSConfig/data.go index 4cce5ed87..167148c68 100644 --- a/iSolarCloud/sungro/AppService/getOSSConfig/data.go +++ b/iSolarCloud/sungro/AppService/getOSSConfig/data.go @@ -1,7 +1,7 @@ package getOSSConfig import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOSSConfig/struct.go b/iSolarCloud/sungro/AppService/getOSSConfig/struct.go index 997967e6f..74bed0f33 100644 --- a/iSolarCloud/sungro/AppService/getOSSConfig/struct.go +++ b/iSolarCloud/sungro/AppService/getOSSConfig/struct.go @@ -1,9 +1,9 @@ package getOSSConfig import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOperRuleDetail/data.go b/iSolarCloud/sungro/AppService/getOperRuleDetail/data.go index 545911da9..6362ccb4f 100644 --- a/iSolarCloud/sungro/AppService/getOperRuleDetail/data.go +++ b/iSolarCloud/sungro/AppService/getOperRuleDetail/data.go @@ -1,7 +1,7 @@ package getOperRuleDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOperRuleDetail/struct.go b/iSolarCloud/sungro/AppService/getOperRuleDetail/struct.go index 3c3c86064..c444a0bed 100644 --- a/iSolarCloud/sungro/AppService/getOperRuleDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getOperRuleDetail/struct.go @@ -1,9 +1,9 @@ package getOperRuleDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOperateBillFileId/data.go b/iSolarCloud/sungro/AppService/getOperateBillFileId/data.go index dd8ed313d..18db993f4 100644 --- a/iSolarCloud/sungro/AppService/getOperateBillFileId/data.go +++ b/iSolarCloud/sungro/AppService/getOperateBillFileId/data.go @@ -1,7 +1,7 @@ package getOperateBillFileId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOperateBillFileId/struct.go b/iSolarCloud/sungro/AppService/getOperateBillFileId/struct.go index 7f399d191..4a333b354 100644 --- a/iSolarCloud/sungro/AppService/getOperateBillFileId/struct.go +++ b/iSolarCloud/sungro/AppService/getOperateBillFileId/struct.go @@ -1,9 +1,9 @@ package getOperateBillFileId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOperateTicketForDetail/data.go b/iSolarCloud/sungro/AppService/getOperateTicketForDetail/data.go index 6509ecda3..cf9aa7cfe 100644 --- a/iSolarCloud/sungro/AppService/getOperateTicketForDetail/data.go +++ b/iSolarCloud/sungro/AppService/getOperateTicketForDetail/data.go @@ -1,7 +1,7 @@ package getOperateTicketForDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOperateTicketForDetail/struct.go b/iSolarCloud/sungro/AppService/getOperateTicketForDetail/struct.go index b0a830b81..5bd0e7030 100644 --- a/iSolarCloud/sungro/AppService/getOperateTicketForDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getOperateTicketForDetail/struct.go @@ -1,9 +1,9 @@ package getOperateTicketForDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/data.go b/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/data.go index 23b98ba73..688f02a8d 100644 --- a/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/data.go +++ b/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/data.go @@ -1,7 +1,7 @@ package getOrCreateNetEaseUserToken import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/struct.go b/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/struct.go index fd9142b49..e7b6dc01b 100644 --- a/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/struct.go +++ b/iSolarCloud/sungro/AppService/getOrCreateNetEaseUserToken/struct.go @@ -1,9 +1,9 @@ package getOrCreateNetEaseUserToken import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrderDataList/data.go b/iSolarCloud/sungro/AppService/getOrderDataList/data.go index bd3956d85..d4578db74 100644 --- a/iSolarCloud/sungro/AppService/getOrderDataList/data.go +++ b/iSolarCloud/sungro/AppService/getOrderDataList/data.go @@ -1,7 +1,7 @@ package getOrderDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrderDataList/struct.go b/iSolarCloud/sungro/AppService/getOrderDataList/struct.go index e8095c308..8fe1aca03 100644 --- a/iSolarCloud/sungro/AppService/getOrderDataList/struct.go +++ b/iSolarCloud/sungro/AppService/getOrderDataList/struct.go @@ -1,9 +1,9 @@ package getOrderDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrderDataSql2/data.go b/iSolarCloud/sungro/AppService/getOrderDataSql2/data.go index dcc6f7a32..ba6ae0805 100644 --- a/iSolarCloud/sungro/AppService/getOrderDataSql2/data.go +++ b/iSolarCloud/sungro/AppService/getOrderDataSql2/data.go @@ -1,7 +1,7 @@ package getOrderDataSql2 import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrderDataSql2/struct.go b/iSolarCloud/sungro/AppService/getOrderDataSql2/struct.go index d2e3994e0..13d691a3d 100644 --- a/iSolarCloud/sungro/AppService/getOrderDataSql2/struct.go +++ b/iSolarCloud/sungro/AppService/getOrderDataSql2/struct.go @@ -1,9 +1,9 @@ package getOrderDataSql2 import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrderDatas/data.go b/iSolarCloud/sungro/AppService/getOrderDatas/data.go index f0562bad9..925a15138 100644 --- a/iSolarCloud/sungro/AppService/getOrderDatas/data.go +++ b/iSolarCloud/sungro/AppService/getOrderDatas/data.go @@ -1,7 +1,7 @@ package getOrderDatas import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrderDatas/struct.go b/iSolarCloud/sungro/AppService/getOrderDatas/struct.go index 3dfc8d666..b0b78e72e 100644 --- a/iSolarCloud/sungro/AppService/getOrderDatas/struct.go +++ b/iSolarCloud/sungro/AppService/getOrderDatas/struct.go @@ -1,9 +1,9 @@ package getOrderDatas import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrderDetail/data.go b/iSolarCloud/sungro/AppService/getOrderDetail/data.go index 8d61357e4..760d63581 100644 --- a/iSolarCloud/sungro/AppService/getOrderDetail/data.go +++ b/iSolarCloud/sungro/AppService/getOrderDetail/data.go @@ -1,7 +1,7 @@ package getOrderDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrderDetail/struct.go b/iSolarCloud/sungro/AppService/getOrderDetail/struct.go index 852b79cd5..1e16e5a79 100644 --- a/iSolarCloud/sungro/AppService/getOrderDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getOrderDetail/struct.go @@ -1,9 +1,9 @@ package getOrderDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrderStatistics/data.go b/iSolarCloud/sungro/AppService/getOrderStatistics/data.go index 58c9d07b4..b9bae1179 100644 --- a/iSolarCloud/sungro/AppService/getOrderStatistics/data.go +++ b/iSolarCloud/sungro/AppService/getOrderStatistics/data.go @@ -1,7 +1,7 @@ package getOrderStatistics import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrderStatistics/struct.go b/iSolarCloud/sungro/AppService/getOrderStatistics/struct.go index 6f0474243..a5298b06b 100644 --- a/iSolarCloud/sungro/AppService/getOrderStatistics/struct.go +++ b/iSolarCloud/sungro/AppService/getOrderStatistics/struct.go @@ -1,9 +1,9 @@ package getOrderStatistics import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/data.go b/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/data.go index 49824c772..940355a16 100644 --- a/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/data.go +++ b/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/data.go @@ -1,7 +1,7 @@ package getOrgIdNameByUserId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/struct.go b/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/struct.go index 362370657..cde0e68df 100644 --- a/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/struct.go +++ b/iSolarCloud/sungro/AppService/getOrgIdNameByUserId/struct.go @@ -1,9 +1,9 @@ package getOrgIdNameByUserId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/data.go b/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/data.go index 2d7767e85..4fc148382 100644 --- a/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/data.go +++ b/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/data.go @@ -1,7 +1,7 @@ package getOrgInfoByDealerOrgCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/struct.go b/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/struct.go index 2b31f1702..83f60054f 100644 --- a/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/struct.go +++ b/iSolarCloud/sungro/AppService/getOrgInfoByDealerOrgCode/struct.go @@ -1,9 +1,9 @@ package getOrgInfoByDealerOrgCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrgListByName/data.go b/iSolarCloud/sungro/AppService/getOrgListByName/data.go index 81c101d5d..65cb2e918 100644 --- a/iSolarCloud/sungro/AppService/getOrgListByName/data.go +++ b/iSolarCloud/sungro/AppService/getOrgListByName/data.go @@ -1,7 +1,7 @@ package getOrgListByName import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrgListByName/struct.go b/iSolarCloud/sungro/AppService/getOrgListByName/struct.go index cedd0aa94..e1a16e201 100644 --- a/iSolarCloud/sungro/AppService/getOrgListByName/struct.go +++ b/iSolarCloud/sungro/AppService/getOrgListByName/struct.go @@ -1,9 +1,9 @@ package getOrgListByName import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrgListByUserId/data.go b/iSolarCloud/sungro/AppService/getOrgListByUserId/data.go index b6cdfe5e6..19495326b 100644 --- a/iSolarCloud/sungro/AppService/getOrgListByUserId/data.go +++ b/iSolarCloud/sungro/AppService/getOrgListByUserId/data.go @@ -1,7 +1,7 @@ package getOrgListByUserId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrgListByUserId/struct.go b/iSolarCloud/sungro/AppService/getOrgListByUserId/struct.go index d9eb34f29..991c02151 100644 --- a/iSolarCloud/sungro/AppService/getOrgListByUserId/struct.go +++ b/iSolarCloud/sungro/AppService/getOrgListByUserId/struct.go @@ -1,9 +1,9 @@ package getOrgListByUserId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOrgListForUser/data.go b/iSolarCloud/sungro/AppService/getOrgListForUser/data.go index 3d6f9664a..81b637ef9 100644 --- a/iSolarCloud/sungro/AppService/getOrgListForUser/data.go +++ b/iSolarCloud/sungro/AppService/getOrgListForUser/data.go @@ -1,7 +1,7 @@ package getOrgListForUser import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOrgListForUser/struct.go b/iSolarCloud/sungro/AppService/getOrgListForUser/struct.go index afb81137b..1626c541f 100644 --- a/iSolarCloud/sungro/AppService/getOrgListForUser/struct.go +++ b/iSolarCloud/sungro/AppService/getOrgListForUser/struct.go @@ -1,9 +1,9 @@ package getOrgListForUser import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOssObjectStream/data.go b/iSolarCloud/sungro/AppService/getOssObjectStream/data.go index b7f1743e6..8ef70a5a0 100644 --- a/iSolarCloud/sungro/AppService/getOssObjectStream/data.go +++ b/iSolarCloud/sungro/AppService/getOssObjectStream/data.go @@ -1,7 +1,7 @@ package getOssObjectStream import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOssObjectStream/struct.go b/iSolarCloud/sungro/AppService/getOssObjectStream/struct.go index f7c7a0fdd..ff266379d 100644 --- a/iSolarCloud/sungro/AppService/getOssObjectStream/struct.go +++ b/iSolarCloud/sungro/AppService/getOssObjectStream/struct.go @@ -1,9 +1,9 @@ package getOssObjectStream import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/data.go b/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/data.go index 311fe7759..2a3a93fdf 100644 --- a/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/data.go +++ b/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/data.go @@ -1,7 +1,7 @@ package getOwnerFaultConfigList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/struct.go b/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/struct.go index 05b3fa5ee..350e6a9af 100644 --- a/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/struct.go +++ b/iSolarCloud/sungro/AppService/getOwnerFaultConfigList/struct.go @@ -1,9 +1,9 @@ package getOwnerFaultConfigList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPListinfoFromMysql/data.go b/iSolarCloud/sungro/AppService/getPListinfoFromMysql/data.go index f430f44bc..6d305acf9 100644 --- a/iSolarCloud/sungro/AppService/getPListinfoFromMysql/data.go +++ b/iSolarCloud/sungro/AppService/getPListinfoFromMysql/data.go @@ -1,7 +1,7 @@ package getPListinfoFromMysql import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPListinfoFromMysql/struct.go b/iSolarCloud/sungro/AppService/getPListinfoFromMysql/struct.go index 9a563fd78..df30f193f 100644 --- a/iSolarCloud/sungro/AppService/getPListinfoFromMysql/struct.go +++ b/iSolarCloud/sungro/AppService/getPListinfoFromMysql/struct.go @@ -1,9 +1,9 @@ package getPListinfoFromMysql import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/data.go b/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/data.go index 2da319c7e..063dc7305 100644 --- a/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/data.go +++ b/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/data.go @@ -1,7 +1,7 @@ package getParamSetTemplate4NewProtocol import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/struct.go b/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/struct.go index 9cd6cd0bc..d50327b3f 100644 --- a/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/struct.go +++ b/iSolarCloud/sungro/AppService/getParamSetTemplate4NewProtocol/struct.go @@ -1,9 +1,9 @@ package getParamSetTemplate4NewProtocol import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/data.go b/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/data.go index 8d6fac7fd..000fd29c5 100644 --- a/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/data.go +++ b/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/data.go @@ -1,7 +1,7 @@ package getParamSetTemplatePointInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/struct.go b/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/struct.go index e3f32f50b..e90db70cb 100644 --- a/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getParamSetTemplatePointInfo/struct.go @@ -1,9 +1,9 @@ package getParamSetTemplatePointInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getParamterSettingBase/data.go b/iSolarCloud/sungro/AppService/getParamterSettingBase/data.go index 738eaea06..03ae69840 100644 --- a/iSolarCloud/sungro/AppService/getParamterSettingBase/data.go +++ b/iSolarCloud/sungro/AppService/getParamterSettingBase/data.go @@ -1,7 +1,7 @@ package getParamterSettingBase import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getParamterSettingBase/struct.go b/iSolarCloud/sungro/AppService/getParamterSettingBase/struct.go index 1d12392b7..9b4e715da 100644 --- a/iSolarCloud/sungro/AppService/getParamterSettingBase/struct.go +++ b/iSolarCloud/sungro/AppService/getParamterSettingBase/struct.go @@ -1,9 +1,9 @@ package getParamterSettingBase import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPhotoInfo/data.go b/iSolarCloud/sungro/AppService/getPhotoInfo/data.go index 20776fb77..f353a8e13 100644 --- a/iSolarCloud/sungro/AppService/getPhotoInfo/data.go +++ b/iSolarCloud/sungro/AppService/getPhotoInfo/data.go @@ -1,7 +1,7 @@ package getPhotoInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPhotoInfo/struct.go b/iSolarCloud/sungro/AppService/getPhotoInfo/struct.go index 1981a4a55..c3b08fa98 100644 --- a/iSolarCloud/sungro/AppService/getPhotoInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getPhotoInfo/struct.go @@ -1,9 +1,9 @@ package getPhotoInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/data.go b/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/data.go index 53e49a19a..ea02a1700 100644 --- a/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/data.go +++ b/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/data.go @@ -1,7 +1,7 @@ package getPlanedOrNotPsList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/struct.go b/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/struct.go index c33cba3a2..5693d6616 100644 --- a/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/struct.go +++ b/iSolarCloud/sungro/AppService/getPlanedOrNotPsList/struct.go @@ -1,9 +1,9 @@ package getPlanedOrNotPsList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPlantReportPDFList/data.go b/iSolarCloud/sungro/AppService/getPlantReportPDFList/data.go index b1e31e6f7..ab901358f 100644 --- a/iSolarCloud/sungro/AppService/getPlantReportPDFList/data.go +++ b/iSolarCloud/sungro/AppService/getPlantReportPDFList/data.go @@ -1,7 +1,7 @@ package getPlantReportPDFList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPlantReportPDFList/struct.go b/iSolarCloud/sungro/AppService/getPlantReportPDFList/struct.go index 27811383a..d5be6f1be 100644 --- a/iSolarCloud/sungro/AppService/getPlantReportPDFList/struct.go +++ b/iSolarCloud/sungro/AppService/getPlantReportPDFList/struct.go @@ -1,9 +1,9 @@ package getPlantReportPDFList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/data.go b/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/data.go index b0f6fb1f8..ee8914e2b 100644 --- a/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/data.go +++ b/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/data.go @@ -1,7 +1,7 @@ package getPowerChargeSettingInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/struct.go b/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/struct.go index 7a299fafe..bae313a5c 100644 --- a/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerChargeSettingInfo/struct.go @@ -1,9 +1,9 @@ package getPowerChargeSettingInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/data.go b/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/data.go index 9b4e62e95..3fcb2009e 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/data.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/data.go @@ -1,7 +1,7 @@ package getPowerDeviceModelTechList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/struct.go b/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/struct.go index 362277b6e..f5d860db9 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceModelTechList/struct.go @@ -1,9 +1,9 @@ package getPowerDeviceModelTechList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/data.go b/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/data.go index acbf96491..0e254b2ad 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/data.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/data.go @@ -1,7 +1,7 @@ package getPowerDeviceModelTree import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/struct.go b/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/struct.go index f77539123..5f153bc9f 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceModelTree/struct.go @@ -1,9 +1,9 @@ package getPowerDeviceModelTree import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/data.go b/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/data.go index ff0d6e357..5398ead0e 100644 --- a/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/data.go +++ b/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/data.go @@ -1,7 +1,7 @@ package getPowerDevicePointInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/struct.go b/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/struct.go index 3844e0afa..36e85c1e0 100644 --- a/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerDevicePointInfo/struct.go @@ -1,9 +1,9 @@ package getPowerDevicePointInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerDevicePointNames/data.go b/iSolarCloud/sungro/AppService/getPowerDevicePointNames/data.go index c7748a9d0..3a1ce56c8 100644 --- a/iSolarCloud/sungro/AppService/getPowerDevicePointNames/data.go +++ b/iSolarCloud/sungro/AppService/getPowerDevicePointNames/data.go @@ -1,7 +1,7 @@ package getPowerDevicePointNames import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerDevicePointNames/struct.go b/iSolarCloud/sungro/AppService/getPowerDevicePointNames/struct.go index 3e87230d1..ed45974bc 100644 --- a/iSolarCloud/sungro/AppService/getPowerDevicePointNames/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerDevicePointNames/struct.go @@ -1,9 +1,9 @@ package getPowerDevicePointNames import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/data.go b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/data.go index 852434501..dd6cd0187 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/data.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/data.go @@ -1,7 +1,7 @@ package getPowerDeviceSetTaskDetailList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/struct.go b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/struct.go index 63488bb13..62e0abeea 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskDetailList/struct.go @@ -1,9 +1,9 @@ package getPowerDeviceSetTaskDetailList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/data.go b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/data.go index 7fe4811c8..7dda851d8 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/data.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/data.go @@ -1,7 +1,7 @@ package getPowerDeviceSetTaskList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/struct.go b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/struct.go index 6989c5241..2ed1ea025 100644 --- a/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerDeviceSetTaskList/struct.go @@ -1,9 +1,9 @@ package getPowerDeviceSetTaskList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/data.go b/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/data.go index d0d327a40..133bdb254 100644 --- a/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/data.go +++ b/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/data.go @@ -1,7 +1,7 @@ package getPowerFormulaFaultAnalyse import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/struct.go b/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/struct.go index bb9ef4f01..0d9c7341c 100644 --- a/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerFormulaFaultAnalyse/struct.go @@ -1,9 +1,9 @@ package getPowerFormulaFaultAnalyse import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerPictureList/data.go b/iSolarCloud/sungro/AppService/getPowerPictureList/data.go index fbc4af019..7205a7feb 100644 --- a/iSolarCloud/sungro/AppService/getPowerPictureList/data.go +++ b/iSolarCloud/sungro/AppService/getPowerPictureList/data.go @@ -1,7 +1,7 @@ package getPowerPictureList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerPictureList/struct.go b/iSolarCloud/sungro/AppService/getPowerPictureList/struct.go index 5326d3d75..d342d895a 100644 --- a/iSolarCloud/sungro/AppService/getPowerPictureList/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerPictureList/struct.go @@ -1,9 +1,9 @@ package getPowerPictureList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/data.go b/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/data.go index fa2507a45..3a3e02903 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/data.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/data.go @@ -1,7 +1,7 @@ package getPowerRobotInfoByRobotSn import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/struct.go b/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/struct.go index 54f45fd03..ee933644f 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotInfoByRobotSn/struct.go @@ -1,9 +1,9 @@ package getPowerRobotInfoByRobotSn import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/data.go b/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/data.go index a153bfe22..873e9ff90 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/data.go @@ -1,7 +1,7 @@ package getPowerRobotSweepAttrByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/struct.go b/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/struct.go index 9bfaf159f..8ca37d017 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotSweepAttrByPsId/struct.go @@ -1,9 +1,9 @@ package getPowerRobotSweepAttrByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/data.go b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/data.go index 766c99056..e45ac5868 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/data.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/data.go @@ -1,7 +1,7 @@ package getPowerRobotSweepStrategy import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/struct.go b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/struct.go index 00b4685b3..ca07b5275 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategy/struct.go @@ -1,9 +1,9 @@ package getPowerRobotSweepStrategy import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/data.go b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/data.go index dd7987998..9e83b3eed 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/data.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/data.go @@ -1,7 +1,7 @@ package getPowerRobotSweepStrategyList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/struct.go b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/struct.go index c74b37394..515fe2182 100644 --- a/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerRobotSweepStrategyList/struct.go @@ -1,9 +1,9 @@ package getPowerRobotSweepStrategyList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerSettingCharges/data.go b/iSolarCloud/sungro/AppService/getPowerSettingCharges/data.go index da392f96e..a2e136e5a 100644 --- a/iSolarCloud/sungro/AppService/getPowerSettingCharges/data.go +++ b/iSolarCloud/sungro/AppService/getPowerSettingCharges/data.go @@ -1,7 +1,7 @@ package getPowerSettingCharges import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerSettingCharges/struct.go b/iSolarCloud/sungro/AppService/getPowerSettingCharges/struct.go index 201bba160..744f29696 100644 --- a/iSolarCloud/sungro/AppService/getPowerSettingCharges/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerSettingCharges/struct.go @@ -1,9 +1,9 @@ package getPowerSettingCharges import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/data.go b/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/data.go index 1d4c63637..214641270 100644 --- a/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/data.go +++ b/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/data.go @@ -1,7 +1,7 @@ package getPowerSettingHistoryRecords import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/struct.go b/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/struct.go index ff5fe87c4..f55f32f16 100644 --- a/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerSettingHistoryRecords/struct.go @@ -1,9 +1,9 @@ package getPowerSettingHistoryRecords import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/data.go b/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/data.go index 4f0478189..3bfdc9cbb 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/data.go @@ -1,7 +1,7 @@ package getPowerStationBasicInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/struct.go b/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/struct.go index b43659684..6575b84fb 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationBasicInfo/struct.go @@ -1,9 +1,9 @@ package getPowerStationBasicInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationData/data.go b/iSolarCloud/sungro/AppService/getPowerStationData/data.go index db18eeec4..7b945d998 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationData/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationData/data.go @@ -1,7 +1,7 @@ package getPowerStationData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationData/struct.go b/iSolarCloud/sungro/AppService/getPowerStationData/struct.go index 9d4fa6a5b..92e7226e7 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationData/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationData/struct.go @@ -1,9 +1,9 @@ package getPowerStationData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationForHousehold/data.go b/iSolarCloud/sungro/AppService/getPowerStationForHousehold/data.go index e42920ce7..c22163e62 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationForHousehold/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationForHousehold/data.go @@ -1,7 +1,7 @@ package getPowerStationForHousehold import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationForHousehold/struct.go b/iSolarCloud/sungro/AppService/getPowerStationForHousehold/struct.go index 4da77614c..0a7dce963 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationForHousehold/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationForHousehold/struct.go @@ -1,9 +1,9 @@ package getPowerStationForHousehold import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationInfo/data.go b/iSolarCloud/sungro/AppService/getPowerStationInfo/data.go index 7e36dd1e7..725cc4d58 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationInfo/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationInfo/data.go @@ -1,7 +1,7 @@ package getPowerStationInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationInfo/struct.go b/iSolarCloud/sungro/AppService/getPowerStationInfo/struct.go index c077a920d..3156f42bb 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationInfo/struct.go @@ -1,9 +1,9 @@ package getPowerStationInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationPR/data.go b/iSolarCloud/sungro/AppService/getPowerStationPR/data.go index 9e06cf678..d7aeddae7 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationPR/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationPR/data.go @@ -1,7 +1,7 @@ package getPowerStationPR import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationPR/struct.go b/iSolarCloud/sungro/AppService/getPowerStationPR/struct.go index bed998943..8bee26e77 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationPR/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationPR/struct.go @@ -1,9 +1,9 @@ package getPowerStationPR import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/data.go b/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/data.go index 86df38a48..81035e0a3 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/data.go @@ -1,7 +1,7 @@ package getPowerStationTableDataSql import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/struct.go b/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/struct.go index 64a9e98c7..4310733f5 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationTableDataSql/struct.go @@ -1,9 +1,9 @@ package getPowerStationTableDataSql import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/data.go b/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/data.go index 1b15e2582..d0decfe8f 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/data.go @@ -1,7 +1,7 @@ package getPowerStationTableDataSqlCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/struct.go b/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/struct.go index a6bb587f8..2b8fbead0 100644 --- a/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStationTableDataSqlCount/struct.go @@ -1,9 +1,9 @@ package getPowerStationTableDataSqlCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerStatistics/data.go b/iSolarCloud/sungro/AppService/getPowerStatistics/data.go index ab1da4349..e3b15c51f 100644 --- a/iSolarCloud/sungro/AppService/getPowerStatistics/data.go +++ b/iSolarCloud/sungro/AppService/getPowerStatistics/data.go @@ -1,7 +1,7 @@ package getPowerStatistics import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerStatistics/struct.go b/iSolarCloud/sungro/AppService/getPowerStatistics/struct.go index b2c36a7a9..98a88197f 100644 --- a/iSolarCloud/sungro/AppService/getPowerStatistics/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerStatistics/struct.go @@ -1,9 +1,9 @@ package getPowerStatistics import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPowerTrendDayData/data.go b/iSolarCloud/sungro/AppService/getPowerTrendDayData/data.go index 657cac1f4..2aa3d6c3c 100644 --- a/iSolarCloud/sungro/AppService/getPowerTrendDayData/data.go +++ b/iSolarCloud/sungro/AppService/getPowerTrendDayData/data.go @@ -1,7 +1,7 @@ package getPowerTrendDayData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPowerTrendDayData/struct.go b/iSolarCloud/sungro/AppService/getPowerTrendDayData/struct.go index df13ba27f..a5b0facb3 100644 --- a/iSolarCloud/sungro/AppService/getPowerTrendDayData/struct.go +++ b/iSolarCloud/sungro/AppService/getPowerTrendDayData/struct.go @@ -1,9 +1,9 @@ package getPowerTrendDayData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/data.go b/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/data.go index 455eaf02f..f3c0e53ce 100644 --- a/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/data.go +++ b/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/data.go @@ -1,7 +1,7 @@ package getPrivateCloudValidityPeriod import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/struct.go b/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/struct.go index f553212ed..35f1ef7d6 100644 --- a/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/struct.go +++ b/iSolarCloud/sungro/AppService/getPrivateCloudValidityPeriod/struct.go @@ -1,9 +1,9 @@ package getPrivateCloudValidityPeriod import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/data.go b/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/data.go index cefbcad24..20382f08b 100644 --- a/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/data.go +++ b/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/data.go @@ -1,7 +1,7 @@ package getProvInfoListByNationCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/struct.go b/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/struct.go index 8390d5af0..60103f4db 100644 --- a/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/struct.go +++ b/iSolarCloud/sungro/AppService/getProvInfoListByNationCode/struct.go @@ -1,9 +1,9 @@ package getProvInfoListByNationCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsAuthKey/data.go b/iSolarCloud/sungro/AppService/getPsAuthKey/data.go index 61dfc45c1..126788f2f 100644 --- a/iSolarCloud/sungro/AppService/getPsAuthKey/data.go +++ b/iSolarCloud/sungro/AppService/getPsAuthKey/data.go @@ -1,7 +1,7 @@ package getPsAuthKey import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsAuthKey/struct.go b/iSolarCloud/sungro/AppService/getPsAuthKey/struct.go index 0e1840749..bcbbe606e 100644 --- a/iSolarCloud/sungro/AppService/getPsAuthKey/struct.go +++ b/iSolarCloud/sungro/AppService/getPsAuthKey/struct.go @@ -1,9 +1,9 @@ package getPsAuthKey import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsCurveInfo/data.go b/iSolarCloud/sungro/AppService/getPsCurveInfo/data.go index 44084a3db..52e3bf79f 100644 --- a/iSolarCloud/sungro/AppService/getPsCurveInfo/data.go +++ b/iSolarCloud/sungro/AppService/getPsCurveInfo/data.go @@ -1,7 +1,7 @@ package getPsCurveInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsCurveInfo/struct.go b/iSolarCloud/sungro/AppService/getPsCurveInfo/struct.go index 26a70af7c..3ab8360c5 100644 --- a/iSolarCloud/sungro/AppService/getPsCurveInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getPsCurveInfo/struct.go @@ -1,9 +1,9 @@ package getPsCurveInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/data.go b/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/data.go index 6a9271289..29f5a2dcd 100644 --- a/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/data.go +++ b/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/data.go @@ -1,7 +1,7 @@ package getPsDataSupplementTaskList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/struct.go b/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/struct.go index e7fbddb33..29ce29452 100644 --- a/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/struct.go +++ b/iSolarCloud/sungro/AppService/getPsDataSupplementTaskList/struct.go @@ -1,9 +1,9 @@ package getPsDataSupplementTaskList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsDetail/data.go b/iSolarCloud/sungro/AppService/getPsDetail/data.go index ec1bbe284..74b712ac6 100644 --- a/iSolarCloud/sungro/AppService/getPsDetail/data.go +++ b/iSolarCloud/sungro/AppService/getPsDetail/data.go @@ -1,7 +1,7 @@ package getPsDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsDetail/struct.go b/iSolarCloud/sungro/AppService/getPsDetail/struct.go index e994c1faf..4416e2318 100644 --- a/iSolarCloud/sungro/AppService/getPsDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getPsDetail/struct.go @@ -1,9 +1,9 @@ package getPsDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/data.go b/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/data.go index 608b86e1d..392b7d45a 100644 --- a/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/data.go +++ b/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/data.go @@ -1,7 +1,7 @@ package getPsDetailByUserTokens import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/struct.go b/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/struct.go index 68811838d..ff5099299 100644 --- a/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/struct.go +++ b/iSolarCloud/sungro/AppService/getPsDetailByUserTokens/struct.go @@ -1,9 +1,9 @@ package getPsDetailByUserTokens import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/data.go b/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/data.go index 4e61670a3..39fbbe5c3 100644 --- a/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/data.go +++ b/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/data.go @@ -1,7 +1,7 @@ package getPsDetailForSinglePage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/struct.go b/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/struct.go index 1d26f9ecd..d08ed4394 100644 --- a/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/struct.go +++ b/iSolarCloud/sungro/AppService/getPsDetailForSinglePage/struct.go @@ -1,9 +1,9 @@ package getPsDetailForSinglePage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsDetailWithPsType/data.go b/iSolarCloud/sungro/AppService/getPsDetailWithPsType/data.go index 4458030bc..bc42f8d59 100644 --- a/iSolarCloud/sungro/AppService/getPsDetailWithPsType/data.go +++ b/iSolarCloud/sungro/AppService/getPsDetailWithPsType/data.go @@ -1,7 +1,7 @@ package getPsDetailWithPsType import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsDetailWithPsType/struct.go b/iSolarCloud/sungro/AppService/getPsDetailWithPsType/struct.go index 56b047161..f3966ba61 100644 --- a/iSolarCloud/sungro/AppService/getPsDetailWithPsType/struct.go +++ b/iSolarCloud/sungro/AppService/getPsDetailWithPsType/struct.go @@ -1,9 +1,9 @@ package getPsDetailWithPsType import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsHealthState/data.go b/iSolarCloud/sungro/AppService/getPsHealthState/data.go index 47c006495..f50ffb1af 100644 --- a/iSolarCloud/sungro/AppService/getPsHealthState/data.go +++ b/iSolarCloud/sungro/AppService/getPsHealthState/data.go @@ -1,7 +1,7 @@ package getPsHealthState import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsHealthState/struct.go b/iSolarCloud/sungro/AppService/getPsHealthState/struct.go index bfd26a1f9..f26e7924b 100644 --- a/iSolarCloud/sungro/AppService/getPsHealthState/struct.go +++ b/iSolarCloud/sungro/AppService/getPsHealthState/struct.go @@ -1,9 +1,9 @@ package getPsHealthState import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsInstallerByPsId/data.go b/iSolarCloud/sungro/AppService/getPsInstallerByPsId/data.go index fc23a1f33..235771b2d 100644 --- a/iSolarCloud/sungro/AppService/getPsInstallerByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getPsInstallerByPsId/data.go @@ -1,7 +1,7 @@ package getPsInstallerByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsInstallerByPsId/struct.go b/iSolarCloud/sungro/AppService/getPsInstallerByPsId/struct.go index 137333e3c..69e7b242c 100644 --- a/iSolarCloud/sungro/AppService/getPsInstallerByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getPsInstallerByPsId/struct.go @@ -1,9 +1,9 @@ package getPsInstallerByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/data.go b/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/data.go index 7f26391b3..ae6e1db66 100644 --- a/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/data.go @@ -1,7 +1,7 @@ package getPsInstallerOrgInfoByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/struct.go b/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/struct.go index 969c6fb7c..8c45cc91a 100644 --- a/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getPsInstallerOrgInfoByPsId/struct.go @@ -1,9 +1,9 @@ package getPsInstallerOrgInfoByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsList/data.go b/iSolarCloud/sungro/AppService/getPsList/data.go index 9365ff5ef..441daaf97 100644 --- a/iSolarCloud/sungro/AppService/getPsList/data.go +++ b/iSolarCloud/sungro/AppService/getPsList/data.go @@ -1,7 +1,7 @@ package getPsList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsList/struct.go b/iSolarCloud/sungro/AppService/getPsList/struct.go index 412fd6cab..82b46fd98 100644 --- a/iSolarCloud/sungro/AppService/getPsList/struct.go +++ b/iSolarCloud/sungro/AppService/getPsList/struct.go @@ -1,9 +1,9 @@ package getPsList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsListByName/data.go b/iSolarCloud/sungro/AppService/getPsListByName/data.go index fc43fface..a81008def 100644 --- a/iSolarCloud/sungro/AppService/getPsListByName/data.go +++ b/iSolarCloud/sungro/AppService/getPsListByName/data.go @@ -1,7 +1,7 @@ package getPsListByName import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsListByName/struct.go b/iSolarCloud/sungro/AppService/getPsListByName/struct.go index 58fcbee92..07f017aae 100644 --- a/iSolarCloud/sungro/AppService/getPsListByName/struct.go +++ b/iSolarCloud/sungro/AppService/getPsListByName/struct.go @@ -1,9 +1,9 @@ package getPsListByName import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/data.go b/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/data.go index db831ca4f..960aee39f 100644 --- a/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/data.go +++ b/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/data.go @@ -1,7 +1,7 @@ package getPsListForPsDataByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/struct.go b/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/struct.go index ab837bf65..c86f2d0fc 100644 --- a/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/getPsListForPsDataByPsId/struct.go @@ -1,9 +1,9 @@ package getPsListForPsDataByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsListStaticData/data.go b/iSolarCloud/sungro/AppService/getPsListStaticData/data.go index 2e9202a6f..13e64e87f 100644 --- a/iSolarCloud/sungro/AppService/getPsListStaticData/data.go +++ b/iSolarCloud/sungro/AppService/getPsListStaticData/data.go @@ -1,7 +1,7 @@ package getPsListStaticData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsListStaticData/struct.go b/iSolarCloud/sungro/AppService/getPsListStaticData/struct.go index 61029893e..bbb082f64 100644 --- a/iSolarCloud/sungro/AppService/getPsListStaticData/struct.go +++ b/iSolarCloud/sungro/AppService/getPsListStaticData/struct.go @@ -1,9 +1,9 @@ package getPsListStaticData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsReport/data.go b/iSolarCloud/sungro/AppService/getPsReport/data.go index a91acea52..1c4a8b871 100644 --- a/iSolarCloud/sungro/AppService/getPsReport/data.go +++ b/iSolarCloud/sungro/AppService/getPsReport/data.go @@ -1,7 +1,7 @@ package getPsReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsReport/struct.go b/iSolarCloud/sungro/AppService/getPsReport/struct.go index 219242884..e265d96ad 100644 --- a/iSolarCloud/sungro/AppService/getPsReport/struct.go +++ b/iSolarCloud/sungro/AppService/getPsReport/struct.go @@ -1,9 +1,9 @@ package getPsReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsUser/data.go b/iSolarCloud/sungro/AppService/getPsUser/data.go index b8417a1d6..3ad4106c8 100644 --- a/iSolarCloud/sungro/AppService/getPsUser/data.go +++ b/iSolarCloud/sungro/AppService/getPsUser/data.go @@ -1,7 +1,7 @@ package getPsUser import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsUser/struct.go b/iSolarCloud/sungro/AppService/getPsUser/struct.go index 8c7d48916..1cb6d49eb 100644 --- a/iSolarCloud/sungro/AppService/getPsUser/struct.go +++ b/iSolarCloud/sungro/AppService/getPsUser/struct.go @@ -1,9 +1,9 @@ package getPsUser import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getPsWeatherList/data.go b/iSolarCloud/sungro/AppService/getPsWeatherList/data.go index 3bcfbcc08..118e9ea45 100644 --- a/iSolarCloud/sungro/AppService/getPsWeatherList/data.go +++ b/iSolarCloud/sungro/AppService/getPsWeatherList/data.go @@ -1,7 +1,7 @@ package getPsWeatherList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getPsWeatherList/struct.go b/iSolarCloud/sungro/AppService/getPsWeatherList/struct.go index ec6a7ea46..1b30fd1de 100644 --- a/iSolarCloud/sungro/AppService/getPsWeatherList/struct.go +++ b/iSolarCloud/sungro/AppService/getPsWeatherList/struct.go @@ -1,9 +1,9 @@ package getPsWeatherList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRechargeOrderDetail/data.go b/iSolarCloud/sungro/AppService/getRechargeOrderDetail/data.go index e7768bcf1..10cec45eb 100644 --- a/iSolarCloud/sungro/AppService/getRechargeOrderDetail/data.go +++ b/iSolarCloud/sungro/AppService/getRechargeOrderDetail/data.go @@ -1,7 +1,7 @@ package getRechargeOrderDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRechargeOrderDetail/struct.go b/iSolarCloud/sungro/AppService/getRechargeOrderDetail/struct.go index d3e95a33e..6cd8f4d50 100644 --- a/iSolarCloud/sungro/AppService/getRechargeOrderDetail/struct.go +++ b/iSolarCloud/sungro/AppService/getRechargeOrderDetail/struct.go @@ -1,9 +1,9 @@ package getRechargeOrderDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/data.go b/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/data.go index 38494f360..166f89daa 100644 --- a/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/data.go +++ b/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/data.go @@ -1,7 +1,7 @@ package getRechargeOrderItemDeviceList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/struct.go b/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/struct.go index 9e637dea1..98700c9d3 100644 --- a/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/struct.go +++ b/iSolarCloud/sungro/AppService/getRechargeOrderItemDeviceList/struct.go @@ -1,9 +1,9 @@ package getRechargeOrderItemDeviceList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRechargeOrderList/data.go b/iSolarCloud/sungro/AppService/getRechargeOrderList/data.go index 5dbd5262e..875bcfec0 100644 --- a/iSolarCloud/sungro/AppService/getRechargeOrderList/data.go +++ b/iSolarCloud/sungro/AppService/getRechargeOrderList/data.go @@ -1,7 +1,7 @@ package getRechargeOrderList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRechargeOrderList/struct.go b/iSolarCloud/sungro/AppService/getRechargeOrderList/struct.go index 6b93447c3..e977c8e09 100644 --- a/iSolarCloud/sungro/AppService/getRechargeOrderList/struct.go +++ b/iSolarCloud/sungro/AppService/getRechargeOrderList/struct.go @@ -1,9 +1,9 @@ package getRechargeOrderList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRegionalTree/data.go b/iSolarCloud/sungro/AppService/getRegionalTree/data.go index b7df58d77..4af3ad749 100644 --- a/iSolarCloud/sungro/AppService/getRegionalTree/data.go +++ b/iSolarCloud/sungro/AppService/getRegionalTree/data.go @@ -1,7 +1,7 @@ package getRegionalTree import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRegionalTree/struct.go b/iSolarCloud/sungro/AppService/getRegionalTree/struct.go index 27d729e5a..ab0eb9f1f 100644 --- a/iSolarCloud/sungro/AppService/getRegionalTree/struct.go +++ b/iSolarCloud/sungro/AppService/getRegionalTree/struct.go @@ -1,9 +1,9 @@ package getRegionalTree import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRemoteParamSettingList/data.go b/iSolarCloud/sungro/AppService/getRemoteParamSettingList/data.go index a4d7ae0d2..566fb0742 100644 --- a/iSolarCloud/sungro/AppService/getRemoteParamSettingList/data.go +++ b/iSolarCloud/sungro/AppService/getRemoteParamSettingList/data.go @@ -1,7 +1,7 @@ package getRemoteParamSettingList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRemoteParamSettingList/struct.go b/iSolarCloud/sungro/AppService/getRemoteParamSettingList/struct.go index f5e25657d..1ec8cbdea 100644 --- a/iSolarCloud/sungro/AppService/getRemoteParamSettingList/struct.go +++ b/iSolarCloud/sungro/AppService/getRemoteParamSettingList/struct.go @@ -1,9 +1,9 @@ package getRemoteParamSettingList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/data.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/data.go index fc9855f08..c1e77563f 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/data.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/data.go @@ -1,7 +1,7 @@ package getRemoteUpgradeDeviceList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/struct.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/struct.go index bf1fee5e2..9685a599b 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/struct.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeDeviceList/struct.go @@ -1,9 +1,9 @@ package getRemoteUpgradeDeviceList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/data.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/data.go index 6223c88a4..17c1b1601 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/data.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/data.go @@ -1,7 +1,7 @@ package getRemoteUpgradeScheduleDetails import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/struct.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/struct.go index 974681326..7e3dc3a3e 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/struct.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeScheduleDetails/struct.go @@ -1,9 +1,9 @@ package getRemoteUpgradeScheduleDetails import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/data.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/data.go index 8adbe05a8..d372bb0f9 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/data.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/data.go @@ -1,7 +1,7 @@ package getRemoteUpgradeSubTasksList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/struct.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/struct.go index 6880089ad..8c234e66c 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/struct.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeSubTasksList/struct.go @@ -1,9 +1,9 @@ package getRemoteUpgradeSubTasksList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/data.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/data.go index 1d651b284..16bfeda13 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/data.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/data.go @@ -1,7 +1,7 @@ package getRemoteUpgradeTaskList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/struct.go b/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/struct.go index 56a9a77a8..14733f878 100644 --- a/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/struct.go +++ b/iSolarCloud/sungro/AppService/getRemoteUpgradeTaskList/struct.go @@ -1,9 +1,9 @@ package getRemoteUpgradeTaskList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getReportData/data.go b/iSolarCloud/sungro/AppService/getReportData/data.go index 1d3ac26e9..de8ed6531 100644 --- a/iSolarCloud/sungro/AppService/getReportData/data.go +++ b/iSolarCloud/sungro/AppService/getReportData/data.go @@ -1,7 +1,7 @@ package getReportData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getReportData/struct.go b/iSolarCloud/sungro/AppService/getReportData/struct.go index db3956025..dd456a6e3 100644 --- a/iSolarCloud/sungro/AppService/getReportData/struct.go +++ b/iSolarCloud/sungro/AppService/getReportData/struct.go @@ -1,9 +1,9 @@ package getReportData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/data.go b/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/data.go index 57fe4c331..842a0c970 100644 --- a/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/data.go +++ b/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/data.go @@ -1,7 +1,7 @@ package getReportEmailConfigInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/struct.go b/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/struct.go index cc7e59b9e..31eaba1d7 100644 --- a/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getReportEmailConfigInfo/struct.go @@ -1,9 +1,9 @@ package getReportEmailConfigInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getReportExportColumns/data.go b/iSolarCloud/sungro/AppService/getReportExportColumns/data.go index b907021f6..d659832da 100644 --- a/iSolarCloud/sungro/AppService/getReportExportColumns/data.go +++ b/iSolarCloud/sungro/AppService/getReportExportColumns/data.go @@ -1,7 +1,7 @@ package getReportExportColumns import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getReportExportColumns/struct.go b/iSolarCloud/sungro/AppService/getReportExportColumns/struct.go index 07341eab6..e572b8bea 100644 --- a/iSolarCloud/sungro/AppService/getReportExportColumns/struct.go +++ b/iSolarCloud/sungro/AppService/getReportExportColumns/struct.go @@ -1,9 +1,9 @@ package getReportExportColumns import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getReportListByUserId/data.go b/iSolarCloud/sungro/AppService/getReportListByUserId/data.go index d0063c4f5..b7d0cd769 100644 --- a/iSolarCloud/sungro/AppService/getReportListByUserId/data.go +++ b/iSolarCloud/sungro/AppService/getReportListByUserId/data.go @@ -1,7 +1,7 @@ package getReportListByUserId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getReportListByUserId/struct.go b/iSolarCloud/sungro/AppService/getReportListByUserId/struct.go index f0c80adc5..74a442587 100644 --- a/iSolarCloud/sungro/AppService/getReportListByUserId/struct.go +++ b/iSolarCloud/sungro/AppService/getReportListByUserId/struct.go @@ -1,9 +1,9 @@ package getReportListByUserId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/data.go b/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/data.go index 055da2991..c6b23230f 100644 --- a/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/data.go +++ b/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/data.go @@ -1,7 +1,7 @@ package getRobotDynamicCleaningView import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/struct.go b/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/struct.go index 9a53b27e0..8cb63721e 100644 --- a/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/struct.go +++ b/iSolarCloud/sungro/AppService/getRobotDynamicCleaningView/struct.go @@ -1,9 +1,9 @@ package getRobotDynamicCleaningView import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/data.go b/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/data.go index 78b90247c..9a53ec939 100644 --- a/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/data.go +++ b/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/data.go @@ -1,7 +1,7 @@ package getRobotNumAndSweepCapacity import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/struct.go b/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/struct.go index fd98370a6..3226790ef 100644 --- a/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/struct.go +++ b/iSolarCloud/sungro/AppService/getRobotNumAndSweepCapacity/struct.go @@ -1,9 +1,9 @@ package getRobotNumAndSweepCapacity import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getRuleUnit/data.go b/iSolarCloud/sungro/AppService/getRuleUnit/data.go index 14348172f..365415b6d 100644 --- a/iSolarCloud/sungro/AppService/getRuleUnit/data.go +++ b/iSolarCloud/sungro/AppService/getRuleUnit/data.go @@ -1,7 +1,7 @@ package getRuleUnit import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getRuleUnit/struct.go b/iSolarCloud/sungro/AppService/getRuleUnit/struct.go index 567498468..2e7c093c7 100644 --- a/iSolarCloud/sungro/AppService/getRuleUnit/struct.go +++ b/iSolarCloud/sungro/AppService/getRuleUnit/struct.go @@ -1,9 +1,9 @@ package getRuleUnit import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSendReportConfigCron/data.go b/iSolarCloud/sungro/AppService/getSendReportConfigCron/data.go index cfb4e8b6e..675c531b7 100644 --- a/iSolarCloud/sungro/AppService/getSendReportConfigCron/data.go +++ b/iSolarCloud/sungro/AppService/getSendReportConfigCron/data.go @@ -1,7 +1,7 @@ package getSendReportConfigCron import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSendReportConfigCron/struct.go b/iSolarCloud/sungro/AppService/getSendReportConfigCron/struct.go index 7dc9acd8b..adae6acd8 100644 --- a/iSolarCloud/sungro/AppService/getSendReportConfigCron/struct.go +++ b/iSolarCloud/sungro/AppService/getSendReportConfigCron/struct.go @@ -1,9 +1,9 @@ package getSendReportConfigCron import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSerialNum/data.go b/iSolarCloud/sungro/AppService/getSerialNum/data.go index 94f863193..f48db4959 100644 --- a/iSolarCloud/sungro/AppService/getSerialNum/data.go +++ b/iSolarCloud/sungro/AppService/getSerialNum/data.go @@ -1,7 +1,7 @@ package getSerialNum import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSerialNum/struct.go b/iSolarCloud/sungro/AppService/getSerialNum/struct.go index e0b7c6941..af5d6f7ac 100644 --- a/iSolarCloud/sungro/AppService/getSerialNum/struct.go +++ b/iSolarCloud/sungro/AppService/getSerialNum/struct.go @@ -1,9 +1,9 @@ package getSerialNum import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getShieldMapConditionList/data.go b/iSolarCloud/sungro/AppService/getShieldMapConditionList/data.go index 643cce73e..d3e05adc6 100644 --- a/iSolarCloud/sungro/AppService/getShieldMapConditionList/data.go +++ b/iSolarCloud/sungro/AppService/getShieldMapConditionList/data.go @@ -1,7 +1,7 @@ package getShieldMapConditionList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getShieldMapConditionList/struct.go b/iSolarCloud/sungro/AppService/getShieldMapConditionList/struct.go index dc1d84dcf..6ae69adfd 100644 --- a/iSolarCloud/sungro/AppService/getShieldMapConditionList/struct.go +++ b/iSolarCloud/sungro/AppService/getShieldMapConditionList/struct.go @@ -1,9 +1,9 @@ package getShieldMapConditionList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSimIdBySnList/data.go b/iSolarCloud/sungro/AppService/getSimIdBySnList/data.go index 0dea280ed..0e0e25977 100644 --- a/iSolarCloud/sungro/AppService/getSimIdBySnList/data.go +++ b/iSolarCloud/sungro/AppService/getSimIdBySnList/data.go @@ -1,7 +1,7 @@ package getSimIdBySnList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSimIdBySnList/struct.go b/iSolarCloud/sungro/AppService/getSimIdBySnList/struct.go index c6e786399..7bfd21578 100644 --- a/iSolarCloud/sungro/AppService/getSimIdBySnList/struct.go +++ b/iSolarCloud/sungro/AppService/getSimIdBySnList/struct.go @@ -1,9 +1,9 @@ package getSimIdBySnList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSingleIVData/data.go b/iSolarCloud/sungro/AppService/getSingleIVData/data.go index 3621abcdc..3b1dcb67e 100644 --- a/iSolarCloud/sungro/AppService/getSingleIVData/data.go +++ b/iSolarCloud/sungro/AppService/getSingleIVData/data.go @@ -1,7 +1,7 @@ package getSingleIVData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSingleIVData/struct.go b/iSolarCloud/sungro/AppService/getSingleIVData/struct.go index 74c22baef..7896a2d40 100644 --- a/iSolarCloud/sungro/AppService/getSingleIVData/struct.go +++ b/iSolarCloud/sungro/AppService/getSingleIVData/struct.go @@ -1,9 +1,9 @@ package getSingleIVData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSnChangeRecord/data.go b/iSolarCloud/sungro/AppService/getSnChangeRecord/data.go index 889abcb7d..c33574433 100644 --- a/iSolarCloud/sungro/AppService/getSnChangeRecord/data.go +++ b/iSolarCloud/sungro/AppService/getSnChangeRecord/data.go @@ -1,7 +1,7 @@ package getSnChangeRecord import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSnChangeRecord/struct.go b/iSolarCloud/sungro/AppService/getSnChangeRecord/struct.go index e11e26b8c..28987f518 100644 --- a/iSolarCloud/sungro/AppService/getSnChangeRecord/struct.go +++ b/iSolarCloud/sungro/AppService/getSnChangeRecord/struct.go @@ -1,9 +1,9 @@ package getSnChangeRecord import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSnConnectionInfo/data.go b/iSolarCloud/sungro/AppService/getSnConnectionInfo/data.go index bac2218c5..89775634b 100644 --- a/iSolarCloud/sungro/AppService/getSnConnectionInfo/data.go +++ b/iSolarCloud/sungro/AppService/getSnConnectionInfo/data.go @@ -1,7 +1,7 @@ package getSnConnectionInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSnConnectionInfo/struct.go b/iSolarCloud/sungro/AppService/getSnConnectionInfo/struct.go index d8f059332..85c55f2dc 100644 --- a/iSolarCloud/sungro/AppService/getSnConnectionInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getSnConnectionInfo/struct.go @@ -1,9 +1,9 @@ package getSnConnectionInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getStationInfoSql/data.go b/iSolarCloud/sungro/AppService/getStationInfoSql/data.go index 1e20d35b9..6342409f3 100644 --- a/iSolarCloud/sungro/AppService/getStationInfoSql/data.go +++ b/iSolarCloud/sungro/AppService/getStationInfoSql/data.go @@ -1,7 +1,7 @@ package getStationInfoSql import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getStationInfoSql/struct.go b/iSolarCloud/sungro/AppService/getStationInfoSql/struct.go index 8ce404ed4..c6a04d427 100644 --- a/iSolarCloud/sungro/AppService/getStationInfoSql/struct.go +++ b/iSolarCloud/sungro/AppService/getStationInfoSql/struct.go @@ -1,9 +1,9 @@ package getStationInfoSql import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSungwsConfigCache/data.go b/iSolarCloud/sungro/AppService/getSungwsConfigCache/data.go index 693c3e460..4cec03765 100644 --- a/iSolarCloud/sungro/AppService/getSungwsConfigCache/data.go +++ b/iSolarCloud/sungro/AppService/getSungwsConfigCache/data.go @@ -1,7 +1,7 @@ package getSungwsConfigCache import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSungwsConfigCache/struct.go b/iSolarCloud/sungro/AppService/getSungwsConfigCache/struct.go index 2492f7183..966531a5b 100644 --- a/iSolarCloud/sungro/AppService/getSungwsConfigCache/struct.go +++ b/iSolarCloud/sungro/AppService/getSungwsConfigCache/struct.go @@ -1,9 +1,9 @@ package getSungwsConfigCache import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/data.go b/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/data.go index 21d078036..a4a00eb64 100644 --- a/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/data.go +++ b/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/data.go @@ -1,7 +1,7 @@ package getSungwsGlobalConfigCache import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/struct.go b/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/struct.go index dc43bbc99..2b04bbd22 100644 --- a/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/struct.go +++ b/iSolarCloud/sungro/AppService/getSungwsGlobalConfigCache/struct.go @@ -1,9 +1,9 @@ package getSungwsGlobalConfigCache import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/data.go b/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/data.go index 0042f17eb..52686f534 100644 --- a/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/data.go +++ b/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/data.go @@ -1,7 +1,7 @@ package getSweepDevParamSetTemplate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/struct.go b/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/struct.go index 149ed19f8..40598c41d 100644 --- a/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/struct.go +++ b/iSolarCloud/sungro/AppService/getSweepDevParamSetTemplate/struct.go @@ -1,9 +1,9 @@ package getSweepDevParamSetTemplate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSweepRobotDevList/data.go b/iSolarCloud/sungro/AppService/getSweepRobotDevList/data.go index 76baa0e3a..15bd91121 100644 --- a/iSolarCloud/sungro/AppService/getSweepRobotDevList/data.go +++ b/iSolarCloud/sungro/AppService/getSweepRobotDevList/data.go @@ -1,7 +1,7 @@ package getSweepRobotDevList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSweepRobotDevList/struct.go b/iSolarCloud/sungro/AppService/getSweepRobotDevList/struct.go index 007c64190..923662e8f 100644 --- a/iSolarCloud/sungro/AppService/getSweepRobotDevList/struct.go +++ b/iSolarCloud/sungro/AppService/getSweepRobotDevList/struct.go @@ -1,9 +1,9 @@ package getSweepRobotDevList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSysMsg/data.go b/iSolarCloud/sungro/AppService/getSysMsg/data.go index 9855dac9a..378b9a765 100644 --- a/iSolarCloud/sungro/AppService/getSysMsg/data.go +++ b/iSolarCloud/sungro/AppService/getSysMsg/data.go @@ -1,7 +1,7 @@ package getSysMsg import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSysMsg/struct.go b/iSolarCloud/sungro/AppService/getSysMsg/struct.go index b22712890..4bce8c70c 100644 --- a/iSolarCloud/sungro/AppService/getSysMsg/struct.go +++ b/iSolarCloud/sungro/AppService/getSysMsg/struct.go @@ -1,9 +1,9 @@ package getSysMsg import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSysOrgNewList/data.go b/iSolarCloud/sungro/AppService/getSysOrgNewList/data.go index 766863e26..e05dfa344 100644 --- a/iSolarCloud/sungro/AppService/getSysOrgNewList/data.go +++ b/iSolarCloud/sungro/AppService/getSysOrgNewList/data.go @@ -1,7 +1,7 @@ package getSysOrgNewList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSysOrgNewList/struct.go b/iSolarCloud/sungro/AppService/getSysOrgNewList/struct.go index 0b92a9184..e7a7bc40f 100644 --- a/iSolarCloud/sungro/AppService/getSysOrgNewList/struct.go +++ b/iSolarCloud/sungro/AppService/getSysOrgNewList/struct.go @@ -1,9 +1,9 @@ package getSysOrgNewList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSysOrgNewOne/data.go b/iSolarCloud/sungro/AppService/getSysOrgNewOne/data.go index 6c1aa0da0..97b3397cd 100644 --- a/iSolarCloud/sungro/AppService/getSysOrgNewOne/data.go +++ b/iSolarCloud/sungro/AppService/getSysOrgNewOne/data.go @@ -1,7 +1,7 @@ package getSysOrgNewOne import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSysOrgNewOne/struct.go b/iSolarCloud/sungro/AppService/getSysOrgNewOne/struct.go index 9f2921aae..d555c1d2f 100644 --- a/iSolarCloud/sungro/AppService/getSysOrgNewOne/struct.go +++ b/iSolarCloud/sungro/AppService/getSysOrgNewOne/struct.go @@ -1,9 +1,9 @@ package getSysOrgNewOne import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getSysUserById/data.go b/iSolarCloud/sungro/AppService/getSysUserById/data.go index f2cf7e26c..d81829bcd 100644 --- a/iSolarCloud/sungro/AppService/getSysUserById/data.go +++ b/iSolarCloud/sungro/AppService/getSysUserById/data.go @@ -1,7 +1,7 @@ package getSysUserById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getSysUserById/struct.go b/iSolarCloud/sungro/AppService/getSysUserById/struct.go index a11c44980..65ae2105a 100644 --- a/iSolarCloud/sungro/AppService/getSysUserById/struct.go +++ b/iSolarCloud/sungro/AppService/getSysUserById/struct.go @@ -1,9 +1,9 @@ package getSysUserById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getTableDataSql/data.go b/iSolarCloud/sungro/AppService/getTableDataSql/data.go index e3053ea4b..fd68aadae 100644 --- a/iSolarCloud/sungro/AppService/getTableDataSql/data.go +++ b/iSolarCloud/sungro/AppService/getTableDataSql/data.go @@ -1,7 +1,7 @@ package getTableDataSql import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getTableDataSql/struct.go b/iSolarCloud/sungro/AppService/getTableDataSql/struct.go index eb982e89b..1db87b604 100644 --- a/iSolarCloud/sungro/AppService/getTableDataSql/struct.go +++ b/iSolarCloud/sungro/AppService/getTableDataSql/struct.go @@ -1,9 +1,9 @@ package getTableDataSql import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getTableDataSqlCount/data.go b/iSolarCloud/sungro/AppService/getTableDataSqlCount/data.go index 7f2ec183f..3c969316a 100644 --- a/iSolarCloud/sungro/AppService/getTableDataSqlCount/data.go +++ b/iSolarCloud/sungro/AppService/getTableDataSqlCount/data.go @@ -1,7 +1,7 @@ package getTableDataSqlCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getTableDataSqlCount/struct.go b/iSolarCloud/sungro/AppService/getTableDataSqlCount/struct.go index 7b6cd5971..88835b16f 100644 --- a/iSolarCloud/sungro/AppService/getTableDataSqlCount/struct.go +++ b/iSolarCloud/sungro/AppService/getTableDataSqlCount/struct.go @@ -1,9 +1,9 @@ package getTableDataSqlCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getTemplateByInfoType/data.go b/iSolarCloud/sungro/AppService/getTemplateByInfoType/data.go index 605098952..f91143606 100644 --- a/iSolarCloud/sungro/AppService/getTemplateByInfoType/data.go +++ b/iSolarCloud/sungro/AppService/getTemplateByInfoType/data.go @@ -1,7 +1,7 @@ package getTemplateByInfoType import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getTemplateByInfoType/struct.go b/iSolarCloud/sungro/AppService/getTemplateByInfoType/struct.go index ec34183da..62ff75567 100644 --- a/iSolarCloud/sungro/AppService/getTemplateByInfoType/struct.go +++ b/iSolarCloud/sungro/AppService/getTemplateByInfoType/struct.go @@ -1,9 +1,9 @@ package getTemplateByInfoType import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getTemplateList/data.go b/iSolarCloud/sungro/AppService/getTemplateList/data.go index 95d6c1422..7f0ff97f0 100644 --- a/iSolarCloud/sungro/AppService/getTemplateList/data.go +++ b/iSolarCloud/sungro/AppService/getTemplateList/data.go @@ -1,7 +1,7 @@ package getTemplateList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getTemplateList/struct.go b/iSolarCloud/sungro/AppService/getTemplateList/struct.go index bf7b27f4b..48a921257 100644 --- a/iSolarCloud/sungro/AppService/getTemplateList/struct.go +++ b/iSolarCloud/sungro/AppService/getTemplateList/struct.go @@ -1,9 +1,9 @@ package getTemplateList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUUIDByUpuuid/data.go b/iSolarCloud/sungro/AppService/getUUIDByUpuuid/data.go index 7b264eea9..e8b29d290 100644 --- a/iSolarCloud/sungro/AppService/getUUIDByUpuuid/data.go +++ b/iSolarCloud/sungro/AppService/getUUIDByUpuuid/data.go @@ -1,7 +1,7 @@ package getUUIDByUpuuid import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUUIDByUpuuid/struct.go b/iSolarCloud/sungro/AppService/getUUIDByUpuuid/struct.go index 090a60704..0eb4af262 100644 --- a/iSolarCloud/sungro/AppService/getUUIDByUpuuid/struct.go +++ b/iSolarCloud/sungro/AppService/getUUIDByUpuuid/struct.go @@ -1,9 +1,9 @@ package getUUIDByUpuuid import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUpTimePoint/data.go b/iSolarCloud/sungro/AppService/getUpTimePoint/data.go index e050a691b..054f7154f 100644 --- a/iSolarCloud/sungro/AppService/getUpTimePoint/data.go +++ b/iSolarCloud/sungro/AppService/getUpTimePoint/data.go @@ -1,7 +1,7 @@ package getUpTimePoint import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUpTimePoint/struct.go b/iSolarCloud/sungro/AppService/getUpTimePoint/struct.go index 48468db12..7f124ac8b 100644 --- a/iSolarCloud/sungro/AppService/getUpTimePoint/struct.go +++ b/iSolarCloud/sungro/AppService/getUpTimePoint/struct.go @@ -1,9 +1,9 @@ package getUpTimePoint import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserById/data.go b/iSolarCloud/sungro/AppService/getUserById/data.go index bf92bcdfc..bc196b656 100644 --- a/iSolarCloud/sungro/AppService/getUserById/data.go +++ b/iSolarCloud/sungro/AppService/getUserById/data.go @@ -1,7 +1,7 @@ package getUserById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserById/struct.go b/iSolarCloud/sungro/AppService/getUserById/struct.go index 8e06b09b6..1862e946b 100644 --- a/iSolarCloud/sungro/AppService/getUserById/struct.go +++ b/iSolarCloud/sungro/AppService/getUserById/struct.go @@ -1,9 +1,9 @@ package getUserById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserByInstaller/data.go b/iSolarCloud/sungro/AppService/getUserByInstaller/data.go index c8f46a4f8..11135fb62 100644 --- a/iSolarCloud/sungro/AppService/getUserByInstaller/data.go +++ b/iSolarCloud/sungro/AppService/getUserByInstaller/data.go @@ -1,7 +1,7 @@ package getUserByInstaller import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserByInstaller/struct.go b/iSolarCloud/sungro/AppService/getUserByInstaller/struct.go index d89f29b21..e1eecd29c 100644 --- a/iSolarCloud/sungro/AppService/getUserByInstaller/struct.go +++ b/iSolarCloud/sungro/AppService/getUserByInstaller/struct.go @@ -1,9 +1,9 @@ package getUserByInstaller import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/data.go b/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/data.go index cf54d8643..710c44711 100644 --- a/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/data.go +++ b/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/data.go @@ -1,7 +1,7 @@ package getUserDevOnlineOffineCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/struct.go b/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/struct.go index ece452814..d59ac9710 100644 --- a/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/struct.go +++ b/iSolarCloud/sungro/AppService/getUserDevOnlineOffineCount/struct.go @@ -1,9 +1,9 @@ package getUserDevOnlineOffineCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserGDPRAttrs/data.go b/iSolarCloud/sungro/AppService/getUserGDPRAttrs/data.go index 1fd1df909..2ba3fb8fa 100644 --- a/iSolarCloud/sungro/AppService/getUserGDPRAttrs/data.go +++ b/iSolarCloud/sungro/AppService/getUserGDPRAttrs/data.go @@ -1,7 +1,7 @@ package getUserGDPRAttrs import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserGDPRAttrs/struct.go b/iSolarCloud/sungro/AppService/getUserGDPRAttrs/struct.go index a8830dd0a..8ca38e25b 100644 --- a/iSolarCloud/sungro/AppService/getUserGDPRAttrs/struct.go +++ b/iSolarCloud/sungro/AppService/getUserGDPRAttrs/struct.go @@ -1,9 +1,9 @@ package getUserGDPRAttrs import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/data.go b/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/data.go index 7a91e3e66..ffd3407f3 100644 --- a/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/data.go +++ b/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/data.go @@ -1,7 +1,7 @@ package getUserHavePowerStationCount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/struct.go b/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/struct.go index 8d264f854..8a5313ed6 100644 --- a/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/struct.go +++ b/iSolarCloud/sungro/AppService/getUserHavePowerStationCount/struct.go @@ -1,9 +1,9 @@ package getUserHavePowerStationCount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/data.go b/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/data.go index 2c94c7041..1927fab66 100644 --- a/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/data.go +++ b/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/data.go @@ -1,7 +1,7 @@ package getUserInfoByUserAccounts import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/struct.go b/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/struct.go index 0af090b75..91e5d963b 100644 --- a/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/struct.go +++ b/iSolarCloud/sungro/AppService/getUserInfoByUserAccounts/struct.go @@ -1,9 +1,9 @@ package getUserInfoByUserAccounts import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserList/data.go b/iSolarCloud/sungro/AppService/getUserList/data.go index 81487e2c7..9c21080c8 100644 --- a/iSolarCloud/sungro/AppService/getUserList/data.go +++ b/iSolarCloud/sungro/AppService/getUserList/data.go @@ -1,7 +1,7 @@ package getUserList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserList/struct.go b/iSolarCloud/sungro/AppService/getUserList/struct.go index 83f223ce1..0b96302d5 100644 --- a/iSolarCloud/sungro/AppService/getUserList/struct.go +++ b/iSolarCloud/sungro/AppService/getUserList/struct.go @@ -1,9 +1,9 @@ package getUserList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getUserPsOrderList/data.go b/iSolarCloud/sungro/AppService/getUserPsOrderList/data.go index 5c2859d14..13e85c62e 100644 --- a/iSolarCloud/sungro/AppService/getUserPsOrderList/data.go +++ b/iSolarCloud/sungro/AppService/getUserPsOrderList/data.go @@ -1,7 +1,7 @@ package getUserPsOrderList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getUserPsOrderList/struct.go b/iSolarCloud/sungro/AppService/getUserPsOrderList/struct.go index 9140fc3f1..0cc541ade 100644 --- a/iSolarCloud/sungro/AppService/getUserPsOrderList/struct.go +++ b/iSolarCloud/sungro/AppService/getUserPsOrderList/struct.go @@ -1,9 +1,9 @@ package getUserPsOrderList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getValFromHBase/data.go b/iSolarCloud/sungro/AppService/getValFromHBase/data.go index 90a4183ce..54453c80c 100644 --- a/iSolarCloud/sungro/AppService/getValFromHBase/data.go +++ b/iSolarCloud/sungro/AppService/getValFromHBase/data.go @@ -1,7 +1,7 @@ package getValFromHBase import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getValFromHBase/struct.go b/iSolarCloud/sungro/AppService/getValFromHBase/struct.go index 02feb33ad..d9cbe7044 100644 --- a/iSolarCloud/sungro/AppService/getValFromHBase/struct.go +++ b/iSolarCloud/sungro/AppService/getValFromHBase/struct.go @@ -1,9 +1,9 @@ package getValFromHBase import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getValidateCode/data.go b/iSolarCloud/sungro/AppService/getValidateCode/data.go index 686090beb..a4844c058 100644 --- a/iSolarCloud/sungro/AppService/getValidateCode/data.go +++ b/iSolarCloud/sungro/AppService/getValidateCode/data.go @@ -1,7 +1,7 @@ package getValidateCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getValidateCode/struct.go b/iSolarCloud/sungro/AppService/getValidateCode/struct.go index 849c742b6..b2336274f 100644 --- a/iSolarCloud/sungro/AppService/getValidateCode/struct.go +++ b/iSolarCloud/sungro/AppService/getValidateCode/struct.go @@ -1,9 +1,9 @@ package getValidateCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/data.go b/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/data.go index c290d02aa..d2d6be13b 100644 --- a/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/data.go +++ b/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/data.go @@ -1,7 +1,7 @@ package getValidateCodeAtRegister import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/struct.go b/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/struct.go index d4de44e8b..8020bcb60 100644 --- a/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/struct.go +++ b/iSolarCloud/sungro/AppService/getValidateCodeAtRegister/struct.go @@ -1,9 +1,9 @@ package getValidateCodeAtRegister import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getWeatherInfo/data.go b/iSolarCloud/sungro/AppService/getWeatherInfo/data.go index 18fffe0e4..8eaa6d8d9 100644 --- a/iSolarCloud/sungro/AppService/getWeatherInfo/data.go +++ b/iSolarCloud/sungro/AppService/getWeatherInfo/data.go @@ -1,7 +1,7 @@ package getWeatherInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getWeatherInfo/struct.go b/iSolarCloud/sungro/AppService/getWeatherInfo/struct.go index f298f0df0..39c988e57 100644 --- a/iSolarCloud/sungro/AppService/getWeatherInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getWeatherInfo/struct.go @@ -1,9 +1,9 @@ package getWeatherInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getWechatPushConfig/data.go b/iSolarCloud/sungro/AppService/getWechatPushConfig/data.go index 8ffc91408..0738d890d 100644 --- a/iSolarCloud/sungro/AppService/getWechatPushConfig/data.go +++ b/iSolarCloud/sungro/AppService/getWechatPushConfig/data.go @@ -1,7 +1,7 @@ package getWechatPushConfig import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getWechatPushConfig/struct.go b/iSolarCloud/sungro/AppService/getWechatPushConfig/struct.go index 94a29f616..3ad97f602 100644 --- a/iSolarCloud/sungro/AppService/getWechatPushConfig/struct.go +++ b/iSolarCloud/sungro/AppService/getWechatPushConfig/struct.go @@ -1,9 +1,9 @@ package getWechatPushConfig import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/getWorkInfo/data.go b/iSolarCloud/sungro/AppService/getWorkInfo/data.go index b21dd40a8..6b4dea069 100644 --- a/iSolarCloud/sungro/AppService/getWorkInfo/data.go +++ b/iSolarCloud/sungro/AppService/getWorkInfo/data.go @@ -1,7 +1,7 @@ package getWorkInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/getWorkInfo/struct.go b/iSolarCloud/sungro/AppService/getWorkInfo/struct.go index bb8a1298a..2936b9703 100644 --- a/iSolarCloud/sungro/AppService/getWorkInfo/struct.go +++ b/iSolarCloud/sungro/AppService/getWorkInfo/struct.go @@ -1,9 +1,9 @@ package getWorkInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/groupStringCheck/data.go b/iSolarCloud/sungro/AppService/groupStringCheck/data.go index fdf89fff5..0543ab6ad 100644 --- a/iSolarCloud/sungro/AppService/groupStringCheck/data.go +++ b/iSolarCloud/sungro/AppService/groupStringCheck/data.go @@ -1,7 +1,7 @@ package groupStringCheck import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/groupStringCheck/struct.go b/iSolarCloud/sungro/AppService/groupStringCheck/struct.go index be4ffce9b..5b368ed27 100644 --- a/iSolarCloud/sungro/AppService/groupStringCheck/struct.go +++ b/iSolarCloud/sungro/AppService/groupStringCheck/struct.go @@ -1,9 +1,9 @@ package groupStringCheck import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/data.go b/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/data.go index f55f1dd42..9f557a7c2 100644 --- a/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/data.go +++ b/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/data.go @@ -1,7 +1,7 @@ package handleDevByCommunicationSN import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/struct.go b/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/struct.go index f1039680b..67b6eaeba 100644 --- a/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/struct.go +++ b/iSolarCloud/sungro/AppService/handleDevByCommunicationSN/struct.go @@ -1,9 +1,9 @@ package handleDevByCommunicationSN import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/householdResetPassBySN/data.go b/iSolarCloud/sungro/AppService/householdResetPassBySN/data.go index 8301a0ae4..f01b4e797 100644 --- a/iSolarCloud/sungro/AppService/householdResetPassBySN/data.go +++ b/iSolarCloud/sungro/AppService/householdResetPassBySN/data.go @@ -1,7 +1,7 @@ package householdResetPassBySN import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/householdResetPassBySN/struct.go b/iSolarCloud/sungro/AppService/householdResetPassBySN/struct.go index d14b22641..da66c4872 100644 --- a/iSolarCloud/sungro/AppService/householdResetPassBySN/struct.go +++ b/iSolarCloud/sungro/AppService/householdResetPassBySN/struct.go @@ -1,9 +1,9 @@ package householdResetPassBySN import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/immediatePayment/data.go b/iSolarCloud/sungro/AppService/immediatePayment/data.go index c0090adf1..1885a2e2a 100644 --- a/iSolarCloud/sungro/AppService/immediatePayment/data.go +++ b/iSolarCloud/sungro/AppService/immediatePayment/data.go @@ -1,7 +1,7 @@ package immediatePayment import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/immediatePayment/struct.go b/iSolarCloud/sungro/AppService/immediatePayment/struct.go index e6abdb53b..c733e6652 100644 --- a/iSolarCloud/sungro/AppService/immediatePayment/struct.go +++ b/iSolarCloud/sungro/AppService/immediatePayment/struct.go @@ -1,9 +1,9 @@ package immediatePayment import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/importExcelData/data.go b/iSolarCloud/sungro/AppService/importExcelData/data.go index 36b5d3603..a1415eea9 100644 --- a/iSolarCloud/sungro/AppService/importExcelData/data.go +++ b/iSolarCloud/sungro/AppService/importExcelData/data.go @@ -1,7 +1,7 @@ package importExcelData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/importExcelData/struct.go b/iSolarCloud/sungro/AppService/importExcelData/struct.go index 89d7cccfe..86ece8d02 100644 --- a/iSolarCloud/sungro/AppService/importExcelData/struct.go +++ b/iSolarCloud/sungro/AppService/importExcelData/struct.go @@ -1,9 +1,9 @@ package importExcelData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/incomeStatistics/data.go b/iSolarCloud/sungro/AppService/incomeStatistics/data.go index 666483a52..8bbfb5e1a 100644 --- a/iSolarCloud/sungro/AppService/incomeStatistics/data.go +++ b/iSolarCloud/sungro/AppService/incomeStatistics/data.go @@ -1,7 +1,7 @@ package incomeStatistics import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/incomeStatistics/struct.go b/iSolarCloud/sungro/AppService/incomeStatistics/struct.go index 114439d2d..81c264009 100644 --- a/iSolarCloud/sungro/AppService/incomeStatistics/struct.go +++ b/iSolarCloud/sungro/AppService/incomeStatistics/struct.go @@ -1,9 +1,9 @@ package incomeStatistics import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/informPush/data.go b/iSolarCloud/sungro/AppService/informPush/data.go index 9427dc922..cf92b466b 100644 --- a/iSolarCloud/sungro/AppService/informPush/data.go +++ b/iSolarCloud/sungro/AppService/informPush/data.go @@ -1,7 +1,7 @@ package informPush import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/informPush/struct.go b/iSolarCloud/sungro/AppService/informPush/struct.go index b4470f673..89c7e23a2 100644 --- a/iSolarCloud/sungro/AppService/informPush/struct.go +++ b/iSolarCloud/sungro/AppService/informPush/struct.go @@ -1,9 +1,9 @@ package informPush import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/insertEmgOrgInfo/data.go b/iSolarCloud/sungro/AppService/insertEmgOrgInfo/data.go index ef2327282..0cf159f83 100644 --- a/iSolarCloud/sungro/AppService/insertEmgOrgInfo/data.go +++ b/iSolarCloud/sungro/AppService/insertEmgOrgInfo/data.go @@ -1,7 +1,7 @@ package insertEmgOrgInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/insertEmgOrgInfo/struct.go b/iSolarCloud/sungro/AppService/insertEmgOrgInfo/struct.go index f77ea35a3..f7e8fa451 100644 --- a/iSolarCloud/sungro/AppService/insertEmgOrgInfo/struct.go +++ b/iSolarCloud/sungro/AppService/insertEmgOrgInfo/struct.go @@ -1,9 +1,9 @@ package insertEmgOrgInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/data.go b/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/data.go index 0b7c4f94e..67b39f4e3 100644 --- a/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/data.go +++ b/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/data.go @@ -1,7 +1,7 @@ package insightSynDeviceStructure2Cloud import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/struct.go b/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/struct.go index 60db14967..b8441c974 100644 --- a/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/struct.go +++ b/iSolarCloud/sungro/AppService/insightSynDeviceStructure2Cloud/struct.go @@ -1,9 +1,9 @@ package insightSynDeviceStructure2Cloud import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/intoDataToHbase/data.go b/iSolarCloud/sungro/AppService/intoDataToHbase/data.go index 15e1effcc..e0b40284f 100644 --- a/iSolarCloud/sungro/AppService/intoDataToHbase/data.go +++ b/iSolarCloud/sungro/AppService/intoDataToHbase/data.go @@ -1,7 +1,7 @@ package intoDataToHbase import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/intoDataToHbase/struct.go b/iSolarCloud/sungro/AppService/intoDataToHbase/struct.go index a4077e6fc..6178e6793 100644 --- a/iSolarCloud/sungro/AppService/intoDataToHbase/struct.go +++ b/iSolarCloud/sungro/AppService/intoDataToHbase/struct.go @@ -1,9 +1,9 @@ package intoDataToHbase import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/ipLocationQuery/data.go b/iSolarCloud/sungro/AppService/ipLocationQuery/data.go index 588da2c6c..dd7f5ca58 100644 --- a/iSolarCloud/sungro/AppService/ipLocationQuery/data.go +++ b/iSolarCloud/sungro/AppService/ipLocationQuery/data.go @@ -1,7 +1,7 @@ package ipLocationQuery import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/ipLocationQuery/struct.go b/iSolarCloud/sungro/AppService/ipLocationQuery/struct.go index eaac0b222..246c1c4cf 100644 --- a/iSolarCloud/sungro/AppService/ipLocationQuery/struct.go +++ b/iSolarCloud/sungro/AppService/ipLocationQuery/struct.go @@ -1,9 +1,9 @@ package ipLocationQuery import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/isHave2GSn/data.go b/iSolarCloud/sungro/AppService/isHave2GSn/data.go index 97d126ea6..4c59c2c55 100644 --- a/iSolarCloud/sungro/AppService/isHave2GSn/data.go +++ b/iSolarCloud/sungro/AppService/isHave2GSn/data.go @@ -1,7 +1,7 @@ package isHave2GSn import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/isHave2GSn/struct.go b/iSolarCloud/sungro/AppService/isHave2GSn/struct.go index aceee5f6e..f6ab99f83 100644 --- a/iSolarCloud/sungro/AppService/isHave2GSn/struct.go +++ b/iSolarCloud/sungro/AppService/isHave2GSn/struct.go @@ -1,9 +1,9 @@ package isHave2GSn import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/data.go b/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/data.go index 996bbf4e8..a3d3b418c 100644 --- a/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/data.go +++ b/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/data.go @@ -1,7 +1,7 @@ package judgeDevIsHasInitSetTemplate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/struct.go b/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/struct.go index b019b2d71..c1bbc2c02 100644 --- a/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/struct.go +++ b/iSolarCloud/sungro/AppService/judgeDevIsHasInitSetTemplate/struct.go @@ -1,9 +1,9 @@ package judgeDevIsHasInitSetTemplate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/judgeIsSettingMan/data.go b/iSolarCloud/sungro/AppService/judgeIsSettingMan/data.go index 11e4425d6..23a233e7b 100644 --- a/iSolarCloud/sungro/AppService/judgeIsSettingMan/data.go +++ b/iSolarCloud/sungro/AppService/judgeIsSettingMan/data.go @@ -1,7 +1,7 @@ package judgeIsSettingMan import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/judgeIsSettingMan/struct.go b/iSolarCloud/sungro/AppService/judgeIsSettingMan/struct.go index 4d8772a0e..ff7ce0bc1 100644 --- a/iSolarCloud/sungro/AppService/judgeIsSettingMan/struct.go +++ b/iSolarCloud/sungro/AppService/judgeIsSettingMan/struct.go @@ -1,9 +1,9 @@ package judgeIsSettingMan import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/listOssFiles/data.go b/iSolarCloud/sungro/AppService/listOssFiles/data.go index e56a6e97a..5acde540f 100644 --- a/iSolarCloud/sungro/AppService/listOssFiles/data.go +++ b/iSolarCloud/sungro/AppService/listOssFiles/data.go @@ -1,7 +1,7 @@ package listOssFiles import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/listOssFiles/struct.go b/iSolarCloud/sungro/AppService/listOssFiles/struct.go index 243c63206..a79d02d02 100644 --- a/iSolarCloud/sungro/AppService/listOssFiles/struct.go +++ b/iSolarCloud/sungro/AppService/listOssFiles/struct.go @@ -1,9 +1,9 @@ package listOssFiles import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/loadAreaInfo/data.go b/iSolarCloud/sungro/AppService/loadAreaInfo/data.go index 808b48b8e..779edc3d5 100644 --- a/iSolarCloud/sungro/AppService/loadAreaInfo/data.go +++ b/iSolarCloud/sungro/AppService/loadAreaInfo/data.go @@ -1,7 +1,7 @@ package loadAreaInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/loadAreaInfo/struct.go b/iSolarCloud/sungro/AppService/loadAreaInfo/struct.go index 7e9ebde71..5b64a028a 100644 --- a/iSolarCloud/sungro/AppService/loadAreaInfo/struct.go +++ b/iSolarCloud/sungro/AppService/loadAreaInfo/struct.go @@ -1,9 +1,9 @@ package loadAreaInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/loadPowerStation/data.go b/iSolarCloud/sungro/AppService/loadPowerStation/data.go index 73eee33a6..396114dfb 100644 --- a/iSolarCloud/sungro/AppService/loadPowerStation/data.go +++ b/iSolarCloud/sungro/AppService/loadPowerStation/data.go @@ -1,7 +1,7 @@ package loadPowerStation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/loadPowerStation/struct.go b/iSolarCloud/sungro/AppService/loadPowerStation/struct.go index b4d53aebd..f51d1b3c7 100644 --- a/iSolarCloud/sungro/AppService/loadPowerStation/struct.go +++ b/iSolarCloud/sungro/AppService/loadPowerStation/struct.go @@ -1,9 +1,9 @@ package loadPowerStation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/login/auth.go b/iSolarCloud/sungro/AppService/login/auth.go index 39400e0ca..186e30617 100644 --- a/iSolarCloud/sungro/AppService/login/auth.go +++ b/iSolarCloud/sungro/AppService/login/auth.go @@ -1,8 +1,8 @@ package login import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" "encoding/json" "errors" "fmt" @@ -11,15 +11,14 @@ import ( "time" ) - const ( DateTimeFormat = "2006-01-02T15:04:05" - DefaultAuthTokenFile = "SunGroAuthToken.json" + DefaultAuthTokenFile = "AuthToken.json" TokenValidHours = 24 LastLoginDateFormat = "2006-01-02 15:04:05" ) -type SunGroAuth struct { +type SunGrowAuth struct { AppKey string UserAccount string UserPassword string @@ -27,14 +26,13 @@ type SunGroAuth struct { Token string Force bool - lastLogin time.Time - newToken bool - retry int - err error + lastLogin time.Time + newToken bool + retry int + err error } - -func (a *SunGroAuth) Verify() error { +func (a *SunGrowAuth) Verify() error { var err error for range Only.Once { if a == nil { @@ -62,16 +60,16 @@ func (a *SunGroAuth) Verify() error { return err } -func (e *EndPoint) Login(auth *SunGroAuth) error { +func (e *EndPoint) Login(auth *SunGrowAuth) error { for range Only.Once { e.Auth = auth - e.Request.RequestData = RequestData { - UserAccount: auth.UserAccount, + e.Request.RequestData = RequestData{ + UserAccount: auth.UserAccount, UserPassword: auth.UserPassword, } - e.Request.RequestCommon = api.RequestCommon { - Appkey: auth.AppKey, - SysCode: "900", + e.Request.RequestCommon = api.RequestCommon{ + Appkey: auth.AppKey, + SysCode: "900", } e.Error = e.Auth.Verify() @@ -84,21 +82,19 @@ func (e *EndPoint) Login(auth *SunGroAuth) error { break } - e.Error = e.Auth.Verify() - if e.Error != nil { - break - } - if auth.Force { - e.Auth.newToken = true + e.Auth.Token = "" } - if !e.HasTokenExpired() { + if e.IsTokenValid() { break } foo := Assert(e.Call()) e.Error = foo.GetError() + if e.Error != nil { + break + } e.Request = foo.Request e.Response = foo.Response @@ -113,7 +109,7 @@ func (e *EndPoint) Login(auth *SunGroAuth) error { // func (e *EndPoint) RetrieveToken() error { // for range Only.Once { -// e.HasTokenExpired() +// e.IsTokenInvalid() // if !e.Auth.newToken { // break // } @@ -157,7 +153,7 @@ func (e *EndPoint) Login(auth *SunGroAuth) error { // return e.Error // } -func (e *EndPoint) HasTokenExpired() bool { +func (e *EndPoint) IsTokenInvalid() bool { for range Only.Once { if e.Token() == "" { e.Auth.newToken = true @@ -171,6 +167,9 @@ func (e *EndPoint) HasTokenExpired() bool { return e.Auth.newToken } +func (e *EndPoint) IsTokenValid() bool { + return !e.IsTokenInvalid() +} func (e *EndPoint) HoursFromLastLogin() time.Duration { return time.Now().Sub(e.Auth.lastLogin) @@ -211,7 +210,7 @@ func (e *EndPoint) readTokenFile() error { e.Auth.TokenFile = "" break } - e.Auth.TokenFile = filepath.Join(e.Auth.TokenFile, ".GoSungro", DefaultAuthTokenFile) + e.Auth.TokenFile = filepath.Join(e.Auth.TokenFile, ".GoSungrow", DefaultAuthTokenFile) } var f *os.File @@ -228,8 +227,18 @@ func (e *EndPoint) readTokenFile() error { e.Error = json.NewDecoder(f).Decode(&e.Response.ResultData) e.Auth.Token = e.Token() + if e.Auth.Token == "" { + e.Auth.newToken = true + break + } + // 2022-02-17 14:27:03 e.Auth.lastLogin, e.Error = time.Parse(LastLoginDateFormat, e.Response.ResultData.LoginLastDate) + if e.Error != nil { + e.Auth.newToken = true + e.Error = nil + break + } } return e.Error @@ -244,7 +253,7 @@ func (e *EndPoint) saveToken() error { e.Auth.TokenFile = "" break } - e.Auth.TokenFile = filepath.Join(e.Auth.TokenFile, ".GoSungro", DefaultAuthTokenFile) + e.Auth.TokenFile = filepath.Join(e.Auth.TokenFile, ".GoSungrow", DefaultAuthTokenFile) } fmt.Printf("Saving token file to: %s\n", e.Auth.TokenFile) diff --git a/iSolarCloud/sungro/AppService/login/data.go b/iSolarCloud/sungro/AppService/login/data.go index f6c8b00d6..2b6601201 100644 --- a/iSolarCloud/sungro/AppService/login/data.go +++ b/iSolarCloud/sungro/AppService/login/data.go @@ -1,7 +1,9 @@ package login import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api/apiReflect" + "errors" "fmt" ) @@ -21,7 +23,6 @@ func (rd RequestData) Help() string { return ret } - type ResultData struct { AcceptOrderNum int64 `json:"accept_order_num"` BackgroundColor int64 `json:"background_color"` @@ -61,6 +62,7 @@ type ResultData struct { LoginLastIP string `json:"loginLastIp"` LoginTimes int64 `json:"loginTimes"` LoginState string `json:"login_state"` + Msg string `json:"msg"` Logo interface{} `json:"logo"` LogoHTTPSURL interface{} `json:"logo_https_url"` MapType string `json:"map_type"` @@ -127,18 +129,20 @@ type ResultData struct { WorkTel interface{} `json:"work_tel"` } - -// func (e *EndPoint) GetToken() string { -// return e.GetResponse().ResultData.Token -// } -// -// func (e *EndPoint) GetUserEmail() string { -// return e.GetResponse().ResultData.Email -// } -// -// func (e *EndPoint) GetUserName() string { -// return e.GetResponse().ResultData.UserName -// } +func (e *ResultData) IsValid() error { + var err error + for range Only.Once { + switch { + case e.Msg == `账号不存在`: + err = errors.New(fmt.Sprintf("Account does not exist '%s'", e.Msg)) + case e.Msg == "": + break + default: + err = errors.New(fmt.Sprintf("unknown error '%s'", e.Msg)) + } + } + return err +} func (e *EndPoint) AppKey() string { return e.Request.RequestCommon.Appkey @@ -178,24 +182,3 @@ func (e *EndPoint) UserID() string { func (e *EndPoint) UserName() string { return e.Response.ResultData.UserName } - - -// func (e ResultData) MarshalJSON() ([]byte, error) { -// // return api.MarshalJSON(e) -// -// return json.Marshal(&struct { -// Area string `json:"area"` -// EndPoint string `json:"endpoint"` -// Host string `json:"api_host"` -// Url string `json:"endpoint_url"` -// Request interface{} `json:"request"` -// Response interface{} `json:"response"` -// }{ -// Area: string(e.Area), -// EndPoint: string(e.Name), -// Host: e.ApiRoot.Url.String(), -// Url: e.Url.String(), -// Request: e.Request, -// Response: e.Response, -// }) -// } diff --git a/iSolarCloud/sungro/AppService/login/struct.go b/iSolarCloud/sungro/AppService/login/struct.go index 2ccf7fef9..4921fbde0 100644 --- a/iSolarCloud/sungro/AppService/login/struct.go +++ b/iSolarCloud/sungro/AppService/login/struct.go @@ -2,9 +2,9 @@ package login import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" @@ -17,7 +17,7 @@ type EndPoint struct { api.EndPointStruct Request Request Response Response - Auth *SunGroAuth + Auth *SunGrowAuth } type Request struct { @@ -41,7 +41,7 @@ func Init(apiRoot *api.Web) EndPoint { Response: Response{}, Error: nil, }, - Auth: &SunGroAuth{ + Auth: &SunGrowAuth{ AppKey: "", UserAccount: "", UserPassword: "", @@ -210,6 +210,10 @@ func (e EndPoint) IsResponseValid() error { if e.Error != nil { break } + e.Error = e.Response.ResultData.IsValid() + if e.Error != nil { + break + } } return e.Error } diff --git a/iSolarCloud/sungro/AppService/loginByToken/data.go b/iSolarCloud/sungro/AppService/loginByToken/data.go index 7eb6dcada..777966e23 100644 --- a/iSolarCloud/sungro/AppService/loginByToken/data.go +++ b/iSolarCloud/sungro/AppService/loginByToken/data.go @@ -1,7 +1,7 @@ package loginByToken import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/loginByToken/struct.go b/iSolarCloud/sungro/AppService/loginByToken/struct.go index d6a59addd..b4e512862 100644 --- a/iSolarCloud/sungro/AppService/loginByToken/struct.go +++ b/iSolarCloud/sungro/AppService/loginByToken/struct.go @@ -1,9 +1,9 @@ package loginByToken import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/logout/data.go b/iSolarCloud/sungro/AppService/logout/data.go index c09d6495d..67f7d9443 100644 --- a/iSolarCloud/sungro/AppService/logout/data.go +++ b/iSolarCloud/sungro/AppService/logout/data.go @@ -1,7 +1,7 @@ package logout import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/logout/struct.go b/iSolarCloud/sungro/AppService/logout/struct.go index 417f0c3f5..7dc3cc0dd 100644 --- a/iSolarCloud/sungro/AppService/logout/struct.go +++ b/iSolarCloud/sungro/AppService/logout/struct.go @@ -1,9 +1,9 @@ package logout import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/mobilePhoneHasBound/data.go b/iSolarCloud/sungro/AppService/mobilePhoneHasBound/data.go index 747b6c2cc..3f1131e89 100644 --- a/iSolarCloud/sungro/AppService/mobilePhoneHasBound/data.go +++ b/iSolarCloud/sungro/AppService/mobilePhoneHasBound/data.go @@ -1,7 +1,7 @@ package mobilePhoneHasBound import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/mobilePhoneHasBound/struct.go b/iSolarCloud/sungro/AppService/mobilePhoneHasBound/struct.go index bc10d69df..332207950 100644 --- a/iSolarCloud/sungro/AppService/mobilePhoneHasBound/struct.go +++ b/iSolarCloud/sungro/AppService/mobilePhoneHasBound/struct.go @@ -1,9 +1,9 @@ package mobilePhoneHasBound import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifiedDeviceInfo/data.go b/iSolarCloud/sungro/AppService/modifiedDeviceInfo/data.go index aa36e3d5a..9d251dd24 100644 --- a/iSolarCloud/sungro/AppService/modifiedDeviceInfo/data.go +++ b/iSolarCloud/sungro/AppService/modifiedDeviceInfo/data.go @@ -1,7 +1,7 @@ package modifiedDeviceInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifiedDeviceInfo/struct.go b/iSolarCloud/sungro/AppService/modifiedDeviceInfo/struct.go index 120a72841..179dd3c9e 100644 --- a/iSolarCloud/sungro/AppService/modifiedDeviceInfo/struct.go +++ b/iSolarCloud/sungro/AppService/modifiedDeviceInfo/struct.go @@ -1,9 +1,9 @@ package modifiedDeviceInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/data.go b/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/data.go index 459092fb8..8dd9cda94 100644 --- a/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/data.go +++ b/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/data.go @@ -1,7 +1,7 @@ package modifyEmgOrgStruc import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/struct.go b/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/struct.go index 205904ca2..bdd5294f8 100644 --- a/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/struct.go +++ b/iSolarCloud/sungro/AppService/modifyEmgOrgStruc/struct.go @@ -1,9 +1,9 @@ package modifyEmgOrgStruc import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifyFaultPlan/data.go b/iSolarCloud/sungro/AppService/modifyFaultPlan/data.go index 61db8aca7..b7950a316 100644 --- a/iSolarCloud/sungro/AppService/modifyFaultPlan/data.go +++ b/iSolarCloud/sungro/AppService/modifyFaultPlan/data.go @@ -1,7 +1,7 @@ package modifyFaultPlan import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifyFaultPlan/struct.go b/iSolarCloud/sungro/AppService/modifyFaultPlan/struct.go index 07be6f261..8b757434a 100644 --- a/iSolarCloud/sungro/AppService/modifyFaultPlan/struct.go +++ b/iSolarCloud/sungro/AppService/modifyFaultPlan/struct.go @@ -1,9 +1,9 @@ package modifyFaultPlan import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifyOnDutyInfo/data.go b/iSolarCloud/sungro/AppService/modifyOnDutyInfo/data.go index 0945b26f6..398a4bf2f 100644 --- a/iSolarCloud/sungro/AppService/modifyOnDutyInfo/data.go +++ b/iSolarCloud/sungro/AppService/modifyOnDutyInfo/data.go @@ -1,7 +1,7 @@ package modifyOnDutyInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifyOnDutyInfo/struct.go b/iSolarCloud/sungro/AppService/modifyOnDutyInfo/struct.go index 4aaf5ee2b..b289f1969 100644 --- a/iSolarCloud/sungro/AppService/modifyOnDutyInfo/struct.go +++ b/iSolarCloud/sungro/AppService/modifyOnDutyInfo/struct.go @@ -1,9 +1,9 @@ package modifyOnDutyInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifyPassword/data.go b/iSolarCloud/sungro/AppService/modifyPassword/data.go index 22b5306d5..52633a5ca 100644 --- a/iSolarCloud/sungro/AppService/modifyPassword/data.go +++ b/iSolarCloud/sungro/AppService/modifyPassword/data.go @@ -1,7 +1,7 @@ package modifyPassword import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifyPassword/struct.go b/iSolarCloud/sungro/AppService/modifyPassword/struct.go index 2171457a5..a5fbf2220 100644 --- a/iSolarCloud/sungro/AppService/modifyPassword/struct.go +++ b/iSolarCloud/sungro/AppService/modifyPassword/struct.go @@ -1,9 +1,9 @@ package modifyPassword import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifyPersonalUnitList/data.go b/iSolarCloud/sungro/AppService/modifyPersonalUnitList/data.go index de84f956d..6e1754a2e 100644 --- a/iSolarCloud/sungro/AppService/modifyPersonalUnitList/data.go +++ b/iSolarCloud/sungro/AppService/modifyPersonalUnitList/data.go @@ -1,7 +1,7 @@ package modifyPersonalUnitList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifyPersonalUnitList/struct.go b/iSolarCloud/sungro/AppService/modifyPersonalUnitList/struct.go index 1656e45bf..f119f274b 100644 --- a/iSolarCloud/sungro/AppService/modifyPersonalUnitList/struct.go +++ b/iSolarCloud/sungro/AppService/modifyPersonalUnitList/struct.go @@ -1,9 +1,9 @@ package modifyPersonalUnitList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/modifyPsUser/data.go b/iSolarCloud/sungro/AppService/modifyPsUser/data.go index a55585f52..d7f0c0889 100644 --- a/iSolarCloud/sungro/AppService/modifyPsUser/data.go +++ b/iSolarCloud/sungro/AppService/modifyPsUser/data.go @@ -1,7 +1,7 @@ package modifyPsUser import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/modifyPsUser/struct.go b/iSolarCloud/sungro/AppService/modifyPsUser/struct.go index 8a6cffe28..99ff92529 100644 --- a/iSolarCloud/sungro/AppService/modifyPsUser/struct.go +++ b/iSolarCloud/sungro/AppService/modifyPsUser/struct.go @@ -1,9 +1,9 @@ package modifyPsUser import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/moduleLogParamSet/data.go b/iSolarCloud/sungro/AppService/moduleLogParamSet/data.go index c60f4389f..c54e24a79 100644 --- a/iSolarCloud/sungro/AppService/moduleLogParamSet/data.go +++ b/iSolarCloud/sungro/AppService/moduleLogParamSet/data.go @@ -1,7 +1,7 @@ package moduleLogParamSet import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/moduleLogParamSet/struct.go b/iSolarCloud/sungro/AppService/moduleLogParamSet/struct.go index 3f510edd8..05e3d3424 100644 --- a/iSolarCloud/sungro/AppService/moduleLogParamSet/struct.go +++ b/iSolarCloud/sungro/AppService/moduleLogParamSet/struct.go @@ -1,9 +1,9 @@ package moduleLogParamSet import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/nullEndPoint/data.go b/iSolarCloud/sungro/AppService/nullEndPoint/data.go deleted file mode 100644 index 7ed519d43..000000000 --- a/iSolarCloud/sungro/AppService/nullEndPoint/data.go +++ /dev/null @@ -1,27 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/iSolarCloud/api/apiReflect" - "fmt" -) - - -const Url = "" - - -type RequestData struct { - // DeviceType string `json:"device_type" required:"true"` -} - -func (rd RequestData) IsValid() error { - return apiReflect.VerifyOptionsRequired(rd) -} - -func (rd RequestData) Help() string { - ret := fmt.Sprintf("") - return ret -} - - -type ResultData struct { -} diff --git a/iSolarCloud/sungro/AppService/nullEndPoint/struct.go b/iSolarCloud/sungro/AppService/nullEndPoint/struct.go deleted file mode 100644 index 869bd0efb..000000000 --- a/iSolarCloud/sungro/AppService/nullEndPoint/struct.go +++ /dev/null @@ -1,221 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" - "encoding/json" - "errors" - "fmt" -) - - -var _ api.EndPoint = (*EndPoint)(nil) - -type EndPoint struct { - api.EndPointStruct - Request Request - Response Response -} - -type Request struct { - api.RequestCommon - RequestData -} - -type Response struct { - api.ResponseCommon - ResultData ResultData `json:"result_data"` -} - -func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { - ApiRoot: apiRoot, - Area: api.GetArea(EndPoint{}), - Name: api.GetName(EndPoint{}), - Url: api.SetUrl(Url), - Request: Request{}, - Response: Response{}, - Error: nil, - }, - } -} - - -// **************************************** -// Methods not scoped by api.EndPoint interface type - -func (e EndPoint) Init(apiRoot *api.Web) *EndPoint { - ret := Init(apiRoot) - return &ret -} - -func (e EndPoint) GetRequest() Request { - return e.Request -} - -func (e EndPoint) GetResponse() Response { - return e.Response -} - -func Assert(e api.EndPoint) EndPoint { - return e.(EndPoint) -} - - -// **************************************** -// Methods defined by api.EndPoint interface type - -func (e EndPoint) Help() string { - ret := apiReflect.HelpOptions(e.Request.RequestData) - ret += fmt.Sprintf("JSON request:\t%s\n", e.GetRequestJson()) - ret += e.Request.Help() - return ret -} - -func (e EndPoint) GetArea() api.AreaName { - return e.Area -} - -func (e EndPoint) GetName() api.EndPointName { - return e.Name -} - -func (e EndPoint) GetUrl() api.EndPointUrl { - return e.Url -} - -func (e EndPoint) Call() api.EndPoint { - return e.ApiRoot.Get(e) -} - -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) -} - -func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { - e.EndPointStruct.Error = errors.New(fmt.Sprintf(format, a...)) - return e -} - -func (e EndPoint) GetError() error { - return e.EndPointStruct.Error -} - -func (e EndPoint) IsError() bool { - if e.Error != nil { - return true - } - return false -} - -func (e EndPoint) SetRequest(ref interface{}) api.EndPoint { - for range Only.Once { - if apiReflect.GetPkgType(ref) == "api.RequestCommon" { - e.Request.RequestCommon = ref.(api.RequestCommon) - break - } - - if apiReflect.GetType(ref) == "RequestData" { - e.Request.RequestData = ref.(RequestData) - e.Error = e.IsRequestValid() - break - } - - e.Error = apiReflect.DoPkgTypesMatch(e.Request, ref) - if e.Error != nil { - break - } - - e.Request = ref.(Request) - } - return e -} - -func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { - for range Only.Once { - e.Error = json.Unmarshal([]byte(j), &e.Request.RequestData) - if e.Error != nil { - break - } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } - } - return e -} - -func (e EndPoint) RequestRef() interface{} { - return e.Request -} - -func (e EndPoint) GetRequestJson() api.Json { - return api.GetAsJson(e.Request.RequestData) -} - -func (e EndPoint) IsRequestValid() error { - for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() - if e.Error != nil { - break - } - e.Error = req.RequestData.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) SetResponse(ref []byte) api.EndPoint { - for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) - e.Error = json.Unmarshal(ref, &e.Response) - if e.Error != nil { - break - } - // e.ResponseCommon = r - } - return e -} - -func (e EndPoint) GetResponseJson() api.Json { - return api.GetAsPrettyJson(e.Response) -} - -func (e EndPoint) ResponseRef() interface{} { - return e.Response -} - -func (e EndPoint) IsResponseValid() error { - for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() - e.Error = e.Response.ResponseCommon.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) String() string { - return api.GetEndPointString(e) -} - -func (e EndPoint) RequestString() string { - return api.GetRequestString(e.Request) -} - -func (e EndPoint) ResponseString() string { - return api.GetRequestString(e.Response) -} - -func (e EndPoint) MarshalJSON() ([]byte, error) { - return api.MarshalJSON(e) -} diff --git a/iSolarCloud/sungro/AppService/operateOssFile/data.go b/iSolarCloud/sungro/AppService/operateOssFile/data.go index ccfc4252f..c698d4fad 100644 --- a/iSolarCloud/sungro/AppService/operateOssFile/data.go +++ b/iSolarCloud/sungro/AppService/operateOssFile/data.go @@ -1,7 +1,7 @@ package operateOssFile import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/operateOssFile/struct.go b/iSolarCloud/sungro/AppService/operateOssFile/struct.go index c9287fe17..a4b7ff207 100644 --- a/iSolarCloud/sungro/AppService/operateOssFile/struct.go +++ b/iSolarCloud/sungro/AppService/operateOssFile/struct.go @@ -1,9 +1,9 @@ package operateOssFile import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/data.go b/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/data.go index 70b55ac1a..406a7bca9 100644 --- a/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/data.go +++ b/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/data.go @@ -1,7 +1,7 @@ package operationPowerRobotSweepStrategy import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/struct.go b/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/struct.go index 97b47a7bc..23bdafa34 100644 --- a/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/struct.go +++ b/iSolarCloud/sungro/AppService/operationPowerRobotSweepStrategy/struct.go @@ -1,9 +1,9 @@ package operationPowerRobotSweepStrategy import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/orgPowerReport/data.go b/iSolarCloud/sungro/AppService/orgPowerReport/data.go index 983a2ce11..c6bf3d7f9 100644 --- a/iSolarCloud/sungro/AppService/orgPowerReport/data.go +++ b/iSolarCloud/sungro/AppService/orgPowerReport/data.go @@ -1,7 +1,7 @@ package orgPowerReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/orgPowerReport/struct.go b/iSolarCloud/sungro/AppService/orgPowerReport/struct.go index c50932a82..a3a7904aa 100644 --- a/iSolarCloud/sungro/AppService/orgPowerReport/struct.go +++ b/iSolarCloud/sungro/AppService/orgPowerReport/struct.go @@ -1,9 +1,9 @@ package orgPowerReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/paramSetTryAgain/data.go b/iSolarCloud/sungro/AppService/paramSetTryAgain/data.go index c1d16d94f..a4a31e7db 100644 --- a/iSolarCloud/sungro/AppService/paramSetTryAgain/data.go +++ b/iSolarCloud/sungro/AppService/paramSetTryAgain/data.go @@ -1,7 +1,7 @@ package paramSetTryAgain import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/paramSetTryAgain/struct.go b/iSolarCloud/sungro/AppService/paramSetTryAgain/struct.go index 8e5feb02b..15f7058ec 100644 --- a/iSolarCloud/sungro/AppService/paramSetTryAgain/struct.go +++ b/iSolarCloud/sungro/AppService/paramSetTryAgain/struct.go @@ -1,9 +1,9 @@ package paramSetTryAgain import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/paramSetting/data.go b/iSolarCloud/sungro/AppService/paramSetting/data.go index 48f460d7b..c5a3887d3 100644 --- a/iSolarCloud/sungro/AppService/paramSetting/data.go +++ b/iSolarCloud/sungro/AppService/paramSetting/data.go @@ -1,7 +1,7 @@ package paramSetting import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/paramSetting/struct.go b/iSolarCloud/sungro/AppService/paramSetting/struct.go index 2716fcd7b..eace1cc27 100644 --- a/iSolarCloud/sungro/AppService/paramSetting/struct.go +++ b/iSolarCloud/sungro/AppService/paramSetting/struct.go @@ -1,9 +1,9 @@ package paramSetting import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/planPower/data.go b/iSolarCloud/sungro/AppService/planPower/data.go index 84883ff38..0284d7a50 100644 --- a/iSolarCloud/sungro/AppService/planPower/data.go +++ b/iSolarCloud/sungro/AppService/planPower/data.go @@ -1,7 +1,7 @@ package planPower import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/planPower/struct.go b/iSolarCloud/sungro/AppService/planPower/struct.go index 5cd1f10ff..3ea08897e 100644 --- a/iSolarCloud/sungro/AppService/planPower/struct.go +++ b/iSolarCloud/sungro/AppService/planPower/struct.go @@ -1,9 +1,9 @@ package planPower import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/powerDevicePointList/data.go b/iSolarCloud/sungro/AppService/powerDevicePointList/data.go index 5c6e121f7..2517bc986 100644 --- a/iSolarCloud/sungro/AppService/powerDevicePointList/data.go +++ b/iSolarCloud/sungro/AppService/powerDevicePointList/data.go @@ -1,7 +1,7 @@ package powerDevicePointList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/powerDevicePointList/struct.go b/iSolarCloud/sungro/AppService/powerDevicePointList/struct.go index db1550380..449de9998 100644 --- a/iSolarCloud/sungro/AppService/powerDevicePointList/struct.go +++ b/iSolarCloud/sungro/AppService/powerDevicePointList/struct.go @@ -1,9 +1,9 @@ package powerDevicePointList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/powerTrendChartData/data.go b/iSolarCloud/sungro/AppService/powerTrendChartData/data.go index bf70d6d0b..9f5f5bd1c 100644 --- a/iSolarCloud/sungro/AppService/powerTrendChartData/data.go +++ b/iSolarCloud/sungro/AppService/powerTrendChartData/data.go @@ -1,7 +1,7 @@ package powerTrendChartData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/powerTrendChartData/struct.go b/iSolarCloud/sungro/AppService/powerTrendChartData/struct.go index c0743bcfe..37481fcbf 100644 --- a/iSolarCloud/sungro/AppService/powerTrendChartData/struct.go +++ b/iSolarCloud/sungro/AppService/powerTrendChartData/struct.go @@ -1,9 +1,9 @@ package powerTrendChartData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/psForcastInfo/data.go b/iSolarCloud/sungro/AppService/psForcastInfo/data.go index 76ea61676..dab98baac 100644 --- a/iSolarCloud/sungro/AppService/psForcastInfo/data.go +++ b/iSolarCloud/sungro/AppService/psForcastInfo/data.go @@ -1,7 +1,7 @@ package psForcastInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/psForcastInfo/struct.go b/iSolarCloud/sungro/AppService/psForcastInfo/struct.go index 5f7f96ea2..cb537641a 100644 --- a/iSolarCloud/sungro/AppService/psForcastInfo/struct.go +++ b/iSolarCloud/sungro/AppService/psForcastInfo/struct.go @@ -1,9 +1,9 @@ package psForcastInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/psHourPointsValue/data.go b/iSolarCloud/sungro/AppService/psHourPointsValue/data.go index 75944eb17..3bdf5e5ab 100644 --- a/iSolarCloud/sungro/AppService/psHourPointsValue/data.go +++ b/iSolarCloud/sungro/AppService/psHourPointsValue/data.go @@ -1,7 +1,7 @@ package psHourPointsValue import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/psHourPointsValue/struct.go b/iSolarCloud/sungro/AppService/psHourPointsValue/struct.go index 06be6c445..905201b62 100644 --- a/iSolarCloud/sungro/AppService/psHourPointsValue/struct.go +++ b/iSolarCloud/sungro/AppService/psHourPointsValue/struct.go @@ -1,9 +1,9 @@ package psHourPointsValue import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryAllPsIdAndName/data.go b/iSolarCloud/sungro/AppService/queryAllPsIdAndName/data.go index ef1702124..5ff5df315 100644 --- a/iSolarCloud/sungro/AppService/queryAllPsIdAndName/data.go +++ b/iSolarCloud/sungro/AppService/queryAllPsIdAndName/data.go @@ -1,7 +1,7 @@ package queryAllPsIdAndName import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryAllPsIdAndName/struct.go b/iSolarCloud/sungro/AppService/queryAllPsIdAndName/struct.go index e55357ac2..7c3af452f 100644 --- a/iSolarCloud/sungro/AppService/queryAllPsIdAndName/struct.go +++ b/iSolarCloud/sungro/AppService/queryAllPsIdAndName/struct.go @@ -1,9 +1,9 @@ package queryAllPsIdAndName import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/data.go b/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/data.go index 0bc9de1c5..c71651b26 100644 --- a/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/data.go +++ b/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/data.go @@ -1,7 +1,7 @@ package queryBatchCreatePsTaskList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/struct.go b/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/struct.go index 0403048cb..c7722773f 100644 --- a/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/struct.go +++ b/iSolarCloud/sungro/AppService/queryBatchCreatePsTaskList/struct.go @@ -1,9 +1,9 @@ package queryBatchCreatePsTaskList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/data.go b/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/data.go index 3997dafc0..6feda5357 100644 --- a/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/data.go +++ b/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/data.go @@ -1,7 +1,7 @@ package queryBatchSpeedyAddPowerStationResult import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/struct.go b/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/struct.go index e640fa846..e945f0bf2 100644 --- a/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/struct.go +++ b/iSolarCloud/sungro/AppService/queryBatchSpeedyAddPowerStationResult/struct.go @@ -1,9 +1,9 @@ package queryBatchSpeedyAddPowerStationResult import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryCardStatusCTCC/data.go b/iSolarCloud/sungro/AppService/queryCardStatusCTCC/data.go index e229eaaa9..4bc524cd1 100644 --- a/iSolarCloud/sungro/AppService/queryCardStatusCTCC/data.go +++ b/iSolarCloud/sungro/AppService/queryCardStatusCTCC/data.go @@ -1,7 +1,7 @@ package queryCardStatusCTCC import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryCardStatusCTCC/struct.go b/iSolarCloud/sungro/AppService/queryCardStatusCTCC/struct.go index 6cdb91e66..a856cefe6 100644 --- a/iSolarCloud/sungro/AppService/queryCardStatusCTCC/struct.go +++ b/iSolarCloud/sungro/AppService/queryCardStatusCTCC/struct.go @@ -1,9 +1,9 @@ package queryCardStatusCTCC import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryChildAccountList/data.go b/iSolarCloud/sungro/AppService/queryChildAccountList/data.go index 28a71e03d..08db34d7c 100644 --- a/iSolarCloud/sungro/AppService/queryChildAccountList/data.go +++ b/iSolarCloud/sungro/AppService/queryChildAccountList/data.go @@ -1,7 +1,7 @@ package queryChildAccountList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryChildAccountList/struct.go b/iSolarCloud/sungro/AppService/queryChildAccountList/struct.go index 85b1a53c3..e1439e696 100644 --- a/iSolarCloud/sungro/AppService/queryChildAccountList/struct.go +++ b/iSolarCloud/sungro/AppService/queryChildAccountList/struct.go @@ -1,9 +1,9 @@ package queryChildAccountList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryCompensationRecordData/data.go b/iSolarCloud/sungro/AppService/queryCompensationRecordData/data.go index c2aa94bf2..439bec4ee 100644 --- a/iSolarCloud/sungro/AppService/queryCompensationRecordData/data.go +++ b/iSolarCloud/sungro/AppService/queryCompensationRecordData/data.go @@ -1,7 +1,7 @@ package queryCompensationRecordData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryCompensationRecordData/struct.go b/iSolarCloud/sungro/AppService/queryCompensationRecordData/struct.go index 2c67b9649..e79255e69 100644 --- a/iSolarCloud/sungro/AppService/queryCompensationRecordData/struct.go +++ b/iSolarCloud/sungro/AppService/queryCompensationRecordData/struct.go @@ -1,9 +1,9 @@ package queryCompensationRecordData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryCompensationRecordList/data.go b/iSolarCloud/sungro/AppService/queryCompensationRecordList/data.go index 64997cc57..a81ebb91e 100644 --- a/iSolarCloud/sungro/AppService/queryCompensationRecordList/data.go +++ b/iSolarCloud/sungro/AppService/queryCompensationRecordList/data.go @@ -1,7 +1,7 @@ package queryCompensationRecordList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryCompensationRecordList/struct.go b/iSolarCloud/sungro/AppService/queryCompensationRecordList/struct.go index bf1fa09b2..54e2c39ae 100644 --- a/iSolarCloud/sungro/AppService/queryCompensationRecordList/struct.go +++ b/iSolarCloud/sungro/AppService/queryCompensationRecordList/struct.go @@ -1,9 +1,9 @@ package queryCompensationRecordList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryComponent/data.go b/iSolarCloud/sungro/AppService/queryComponent/data.go index 12908dcb2..30839bd1c 100644 --- a/iSolarCloud/sungro/AppService/queryComponent/data.go +++ b/iSolarCloud/sungro/AppService/queryComponent/data.go @@ -1,7 +1,7 @@ package queryComponent import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryComponent/struct.go b/iSolarCloud/sungro/AppService/queryComponent/struct.go index 95a347e46..dd88ebdbf 100644 --- a/iSolarCloud/sungro/AppService/queryComponent/struct.go +++ b/iSolarCloud/sungro/AppService/queryComponent/struct.go @@ -1,9 +1,9 @@ package queryComponent import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/data.go b/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/data.go index cdcf5a07a..be75e7d67 100644 --- a/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/data.go +++ b/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/data.go @@ -1,7 +1,7 @@ package queryComponentTechnicalParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/struct.go b/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/struct.go index 591dd049f..c4ea7cf88 100644 --- a/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/struct.go +++ b/iSolarCloud/sungro/AppService/queryComponentTechnicalParam/struct.go @@ -1,9 +1,9 @@ package queryComponentTechnicalParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/data.go b/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/data.go index 3dfa33fd8..22e2b59ce 100644 --- a/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/data.go +++ b/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/data.go @@ -1,7 +1,7 @@ package queryCountryGridAndRelation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/struct.go b/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/struct.go index e29ac6fbf..791eebfbe 100644 --- a/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/struct.go +++ b/iSolarCloud/sungro/AppService/queryCountryGridAndRelation/struct.go @@ -1,9 +1,9 @@ package queryCountryGridAndRelation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryCountryList/data.go b/iSolarCloud/sungro/AppService/queryCountryList/data.go index a71c4a36b..5967b5ab0 100644 --- a/iSolarCloud/sungro/AppService/queryCountryList/data.go +++ b/iSolarCloud/sungro/AppService/queryCountryList/data.go @@ -1,7 +1,7 @@ package queryCountryList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryCountryList/struct.go b/iSolarCloud/sungro/AppService/queryCountryList/struct.go index d77ecadc4..b33b84204 100644 --- a/iSolarCloud/sungro/AppService/queryCountryList/struct.go +++ b/iSolarCloud/sungro/AppService/queryCountryList/struct.go @@ -1,9 +1,9 @@ package queryCountryList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryCtrlTaskById/data.go b/iSolarCloud/sungro/AppService/queryCtrlTaskById/data.go index 4508c885c..94e6af6a1 100644 --- a/iSolarCloud/sungro/AppService/queryCtrlTaskById/data.go +++ b/iSolarCloud/sungro/AppService/queryCtrlTaskById/data.go @@ -1,7 +1,7 @@ package queryCtrlTaskById import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryCtrlTaskById/struct.go b/iSolarCloud/sungro/AppService/queryCtrlTaskById/struct.go index 650b233fd..3cb8d6f92 100644 --- a/iSolarCloud/sungro/AppService/queryCtrlTaskById/struct.go +++ b/iSolarCloud/sungro/AppService/queryCtrlTaskById/struct.go @@ -1,9 +1,9 @@ package queryCtrlTaskById import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceInfo/data.go b/iSolarCloud/sungro/AppService/queryDeviceInfo/data.go index 9c36ba104..423706b66 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceInfo/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceInfo/data.go @@ -1,7 +1,7 @@ package queryDeviceInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceInfo/struct.go b/iSolarCloud/sungro/AppService/queryDeviceInfo/struct.go index 53570e1ac..e5fcab9d2 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceInfo/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceInfo/struct.go @@ -1,9 +1,9 @@ package queryDeviceInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/data.go b/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/data.go index e05de2327..308bf146c 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/data.go @@ -1,7 +1,7 @@ package queryDeviceInfoForApp import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/struct.go b/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/struct.go index 09a0372b4..078e0389c 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceInfoForApp/struct.go @@ -1,9 +1,9 @@ package queryDeviceInfoForApp import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceList/data.go b/iSolarCloud/sungro/AppService/queryDeviceList/data.go index 9e6828c6b..805986b42 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceList/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceList/data.go @@ -1,7 +1,7 @@ package queryDeviceList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceList/struct.go b/iSolarCloud/sungro/AppService/queryDeviceList/struct.go index 9db33abf6..4584cbb02 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceList/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceList/struct.go @@ -1,9 +1,9 @@ package queryDeviceList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceListByUserId/data.go b/iSolarCloud/sungro/AppService/queryDeviceListByUserId/data.go index f06474090..8a99d701c 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceListByUserId/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceListByUserId/data.go @@ -1,7 +1,7 @@ package queryDeviceListByUserId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceListByUserId/struct.go b/iSolarCloud/sungro/AppService/queryDeviceListByUserId/struct.go index c1b8bab47..c84c15906 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceListByUserId/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceListByUserId/struct.go @@ -1,9 +1,9 @@ package queryDeviceListByUserId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceListForApp/data.go b/iSolarCloud/sungro/AppService/queryDeviceListForApp/data.go index a4b8d3de2..e0b57c4cb 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceListForApp/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceListForApp/data.go @@ -1,7 +1,7 @@ package queryDeviceListForApp import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceListForApp/struct.go b/iSolarCloud/sungro/AppService/queryDeviceListForApp/struct.go index 990f9408d..f93daaf03 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceListForApp/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceListForApp/struct.go @@ -1,9 +1,9 @@ package queryDeviceListForApp import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/data.go b/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/data.go index f920083a9..9c05108b7 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/data.go @@ -1,7 +1,7 @@ package queryDeviceModelTechnical import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/struct.go b/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/struct.go index 799db86f9..ede61d757 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceModelTechnical/struct.go @@ -1,9 +1,9 @@ package queryDeviceModelTechnical import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/data.go b/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/data.go index 6bc1d42bb..de18c9b8d 100644 --- a/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/data.go +++ b/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/data.go @@ -1,7 +1,7 @@ package queryDevicePointDayMonthYearDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/struct.go b/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/struct.go index 7c66a95a4..7aa46d6f1 100644 --- a/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/struct.go +++ b/iSolarCloud/sungro/AppService/queryDevicePointDayMonthYearDataList/struct.go @@ -1,9 +1,9 @@ package queryDevicePointDayMonthYearDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/data.go b/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/data.go index 56fe626f9..c7b079079 100644 --- a/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/data.go +++ b/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/data.go @@ -1,7 +1,7 @@ package queryDevicePointMinuteDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/struct.go b/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/struct.go index 180a13c9f..a5e7afa25 100644 --- a/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/struct.go +++ b/iSolarCloud/sungro/AppService/queryDevicePointMinuteDataList/struct.go @@ -1,9 +1,9 @@ package queryDevicePointMinuteDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/data.go b/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/data.go index 8f52de0db..211379707 100644 --- a/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/data.go +++ b/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/data.go @@ -1,7 +1,7 @@ package queryDevicePointsDayMonthYearDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/struct.go b/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/struct.go index 9a6b830eb..77821d3ea 100644 --- a/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/struct.go +++ b/iSolarCloud/sungro/AppService/queryDevicePointsDayMonthYearDataList/struct.go @@ -1,9 +1,9 @@ package queryDevicePointsDayMonthYearDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/data.go b/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/data.go index 8f8754cbd..924f78ab0 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/data.go @@ -1,7 +1,7 @@ package queryDeviceRealTimeDataByPsKeys import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/struct.go b/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/struct.go index 6f63100a8..52aae06f6 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceRealTimeDataByPsKeys/struct.go @@ -1,9 +1,9 @@ package queryDeviceRealTimeDataByPsKeys import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceRepairList/data.go b/iSolarCloud/sungro/AppService/queryDeviceRepairList/data.go index 6438de6a6..9de42f4ab 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceRepairList/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceRepairList/data.go @@ -1,7 +1,7 @@ package queryDeviceRepairList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceRepairList/struct.go b/iSolarCloud/sungro/AppService/queryDeviceRepairList/struct.go index 1c93951a1..cada4cadb 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceRepairList/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceRepairList/struct.go @@ -1,9 +1,9 @@ package queryDeviceRepairList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/data.go b/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/data.go index 5282182d2..227188703 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/data.go +++ b/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/data.go @@ -1,7 +1,7 @@ package queryDeviceTypeInfoList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/struct.go b/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/struct.go index 00c6f5663..af4d735f0 100644 --- a/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/struct.go +++ b/iSolarCloud/sungro/AppService/queryDeviceTypeInfoList/struct.go @@ -1,9 +1,9 @@ package queryDeviceTypeInfoList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryEnvironmentList/data.go b/iSolarCloud/sungro/AppService/queryEnvironmentList/data.go index 0eab25ea3..d41e79797 100644 --- a/iSolarCloud/sungro/AppService/queryEnvironmentList/data.go +++ b/iSolarCloud/sungro/AppService/queryEnvironmentList/data.go @@ -1,7 +1,7 @@ package queryEnvironmentList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryEnvironmentList/struct.go b/iSolarCloud/sungro/AppService/queryEnvironmentList/struct.go index c2e85f768..c42b631a4 100644 --- a/iSolarCloud/sungro/AppService/queryEnvironmentList/struct.go +++ b/iSolarCloud/sungro/AppService/queryEnvironmentList/struct.go @@ -1,9 +1,9 @@ package queryEnvironmentList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFaultList/data.go b/iSolarCloud/sungro/AppService/queryFaultList/data.go index 517c48da0..e0c917195 100644 --- a/iSolarCloud/sungro/AppService/queryFaultList/data.go +++ b/iSolarCloud/sungro/AppService/queryFaultList/data.go @@ -1,7 +1,7 @@ package queryFaultList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFaultList/struct.go b/iSolarCloud/sungro/AppService/queryFaultList/struct.go index b16c15ab7..0f2b5ebc2 100644 --- a/iSolarCloud/sungro/AppService/queryFaultList/struct.go +++ b/iSolarCloud/sungro/AppService/queryFaultList/struct.go @@ -1,9 +1,9 @@ package queryFaultList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFaultPlanDetail/data.go b/iSolarCloud/sungro/AppService/queryFaultPlanDetail/data.go index 939fcbbb0..477c5f5af 100644 --- a/iSolarCloud/sungro/AppService/queryFaultPlanDetail/data.go +++ b/iSolarCloud/sungro/AppService/queryFaultPlanDetail/data.go @@ -1,7 +1,7 @@ package queryFaultPlanDetail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFaultPlanDetail/struct.go b/iSolarCloud/sungro/AppService/queryFaultPlanDetail/struct.go index 06c7ef496..dadb0b37b 100644 --- a/iSolarCloud/sungro/AppService/queryFaultPlanDetail/struct.go +++ b/iSolarCloud/sungro/AppService/queryFaultPlanDetail/struct.go @@ -1,9 +1,9 @@ package queryFaultPlanDetail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFaultRepairSteps/data.go b/iSolarCloud/sungro/AppService/queryFaultRepairSteps/data.go index f77e38daf..a2aae5e90 100644 --- a/iSolarCloud/sungro/AppService/queryFaultRepairSteps/data.go +++ b/iSolarCloud/sungro/AppService/queryFaultRepairSteps/data.go @@ -1,7 +1,7 @@ package queryFaultRepairSteps import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFaultRepairSteps/struct.go b/iSolarCloud/sungro/AppService/queryFaultRepairSteps/struct.go index d4eca7b58..0f632c1a5 100644 --- a/iSolarCloud/sungro/AppService/queryFaultRepairSteps/struct.go +++ b/iSolarCloud/sungro/AppService/queryFaultRepairSteps/struct.go @@ -1,9 +1,9 @@ package queryFaultRepairSteps import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/data.go b/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/data.go index d6db945e1..a950c085b 100644 --- a/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/data.go +++ b/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/data.go @@ -1,7 +1,7 @@ package queryFaultTypeAndLevelByCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/struct.go b/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/struct.go index fbcf839f3..bad93137c 100644 --- a/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/struct.go +++ b/iSolarCloud/sungro/AppService/queryFaultTypeAndLevelByCode/struct.go @@ -1,9 +1,9 @@ package queryFaultTypeAndLevelByCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/data.go b/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/data.go index 69e31b1e3..a817a9277 100644 --- a/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/data.go +++ b/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/data.go @@ -1,7 +1,7 @@ package queryFaultTypeByDevice import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/struct.go b/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/struct.go index d7b72c4dd..9a39e0d9a 100644 --- a/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/struct.go +++ b/iSolarCloud/sungro/AppService/queryFaultTypeByDevice/struct.go @@ -1,9 +1,9 @@ package queryFaultTypeByDevice import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/data.go b/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/data.go index c80c584d3..f09dd3d2d 100644 --- a/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/data.go +++ b/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/data.go @@ -1,7 +1,7 @@ package queryFaultTypeByDevicePage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/struct.go b/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/struct.go index abe00254f..ba2a8268c 100644 --- a/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/struct.go +++ b/iSolarCloud/sungro/AppService/queryFaultTypeByDevicePage/struct.go @@ -1,9 +1,9 @@ package queryFaultTypeByDevicePage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/data.go b/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/data.go index ef3a791ec..08f0e500f 100644 --- a/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/data.go +++ b/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/data.go @@ -1,7 +1,7 @@ package queryFirmwareFilesPage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/struct.go b/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/struct.go index ededfd623..35fb743ce 100644 --- a/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/struct.go +++ b/iSolarCloud/sungro/AppService/queryFirmwareFilesPage/struct.go @@ -1,9 +1,9 @@ package queryFirmwareFilesPage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryInfotoAlert/data.go b/iSolarCloud/sungro/AppService/queryInfotoAlert/data.go index 84b1c9a93..e5944c57e 100644 --- a/iSolarCloud/sungro/AppService/queryInfotoAlert/data.go +++ b/iSolarCloud/sungro/AppService/queryInfotoAlert/data.go @@ -1,7 +1,7 @@ package queryInfotoAlert import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryInfotoAlert/struct.go b/iSolarCloud/sungro/AppService/queryInfotoAlert/struct.go index c1f7735eb..8a6659482 100644 --- a/iSolarCloud/sungro/AppService/queryInfotoAlert/struct.go +++ b/iSolarCloud/sungro/AppService/queryInfotoAlert/struct.go @@ -1,9 +1,9 @@ package queryInfotoAlert import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryInverterModelList/data.go b/iSolarCloud/sungro/AppService/queryInverterModelList/data.go index 03f3c59f4..452c114db 100644 --- a/iSolarCloud/sungro/AppService/queryInverterModelList/data.go +++ b/iSolarCloud/sungro/AppService/queryInverterModelList/data.go @@ -1,7 +1,7 @@ package queryInverterModelList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryInverterModelList/struct.go b/iSolarCloud/sungro/AppService/queryInverterModelList/struct.go index 11f7f2108..4eea2bbc7 100644 --- a/iSolarCloud/sungro/AppService/queryInverterModelList/struct.go +++ b/iSolarCloud/sungro/AppService/queryInverterModelList/struct.go @@ -1,9 +1,9 @@ package queryInverterModelList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryInverterVersionList/data.go b/iSolarCloud/sungro/AppService/queryInverterVersionList/data.go index 31168a79b..22b6060ae 100644 --- a/iSolarCloud/sungro/AppService/queryInverterVersionList/data.go +++ b/iSolarCloud/sungro/AppService/queryInverterVersionList/data.go @@ -1,7 +1,7 @@ package queryInverterVersionList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryInverterVersionList/struct.go b/iSolarCloud/sungro/AppService/queryInverterVersionList/struct.go index d7b60bc4a..e97bdc385 100644 --- a/iSolarCloud/sungro/AppService/queryInverterVersionList/struct.go +++ b/iSolarCloud/sungro/AppService/queryInverterVersionList/struct.go @@ -1,9 +1,9 @@ package queryInverterVersionList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/data.go b/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/data.go index b850ba8d8..12cf72554 100644 --- a/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/data.go +++ b/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/data.go @@ -1,7 +1,7 @@ package queryM2MCardInfoCMCC import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/struct.go b/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/struct.go index ce4d129c3..cac986ade 100644 --- a/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/struct.go +++ b/iSolarCloud/sungro/AppService/queryM2MCardInfoCMCC/struct.go @@ -1,9 +1,9 @@ package queryM2MCardInfoCMCC import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/data.go b/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/data.go index 820d73959..c3a0b2e20 100644 --- a/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/data.go +++ b/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/data.go @@ -1,7 +1,7 @@ package queryM2MCardTermInfoCMCC import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/struct.go b/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/struct.go index 6e9bf1474..c4c74cc3e 100644 --- a/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/struct.go +++ b/iSolarCloud/sungro/AppService/queryM2MCardTermInfoCMCC/struct.go @@ -1,9 +1,9 @@ package queryM2MCardTermInfoCMCC import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryModelInfoByModelId/data.go b/iSolarCloud/sungro/AppService/queryModelInfoByModelId/data.go index 9ceccf978..0e61b0532 100644 --- a/iSolarCloud/sungro/AppService/queryModelInfoByModelId/data.go +++ b/iSolarCloud/sungro/AppService/queryModelInfoByModelId/data.go @@ -1,7 +1,7 @@ package queryModelInfoByModelId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryModelInfoByModelId/struct.go b/iSolarCloud/sungro/AppService/queryModelInfoByModelId/struct.go index 9ccbaf0c2..773df39ec 100644 --- a/iSolarCloud/sungro/AppService/queryModelInfoByModelId/struct.go +++ b/iSolarCloud/sungro/AppService/queryModelInfoByModelId/struct.go @@ -1,9 +1,9 @@ package queryModelInfoByModelId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryMutiPointDataList/data.go b/iSolarCloud/sungro/AppService/queryMutiPointDataList/data.go index 809dfec8c..2160a3ef6 100644 --- a/iSolarCloud/sungro/AppService/queryMutiPointDataList/data.go +++ b/iSolarCloud/sungro/AppService/queryMutiPointDataList/data.go @@ -1,8 +1,8 @@ package queryMutiPointDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "fmt" "strings" diff --git a/iSolarCloud/sungro/AppService/queryMutiPointDataList/struct.go b/iSolarCloud/sungro/AppService/queryMutiPointDataList/struct.go index ac1263aff..e77044276 100644 --- a/iSolarCloud/sungro/AppService/queryMutiPointDataList/struct.go +++ b/iSolarCloud/sungro/AppService/queryMutiPointDataList/struct.go @@ -1,9 +1,9 @@ package queryMutiPointDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryNoticeList/data.go b/iSolarCloud/sungro/AppService/queryNoticeList/data.go index 74e5839af..d63d1782b 100644 --- a/iSolarCloud/sungro/AppService/queryNoticeList/data.go +++ b/iSolarCloud/sungro/AppService/queryNoticeList/data.go @@ -1,7 +1,7 @@ package queryNoticeList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryNoticeList/struct.go b/iSolarCloud/sungro/AppService/queryNoticeList/struct.go index 2da4265ba..3d28e8992 100644 --- a/iSolarCloud/sungro/AppService/queryNoticeList/struct.go +++ b/iSolarCloud/sungro/AppService/queryNoticeList/struct.go @@ -1,9 +1,9 @@ package queryNoticeList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/data.go b/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/data.go index 1697fc3f9..badc980b1 100644 --- a/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/data.go +++ b/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/data.go @@ -1,7 +1,7 @@ package queryNumberOfRenewalReminders import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/struct.go b/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/struct.go index fdffa0025..3eeaab39b 100644 --- a/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/struct.go +++ b/iSolarCloud/sungro/AppService/queryNumberOfRenewalReminders/struct.go @@ -1,9 +1,9 @@ package queryNumberOfRenewalReminders import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOperRules/data.go b/iSolarCloud/sungro/AppService/queryOperRules/data.go index 43ecc641b..1737b7f3b 100644 --- a/iSolarCloud/sungro/AppService/queryOperRules/data.go +++ b/iSolarCloud/sungro/AppService/queryOperRules/data.go @@ -1,7 +1,7 @@ package queryOperRules import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOperRules/struct.go b/iSolarCloud/sungro/AppService/queryOperRules/struct.go index 0fb8b1838..2c2dacf08 100644 --- a/iSolarCloud/sungro/AppService/queryOperRules/struct.go +++ b/iSolarCloud/sungro/AppService/queryOperRules/struct.go @@ -1,9 +1,9 @@ package queryOperRules import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOrderList/data.go b/iSolarCloud/sungro/AppService/queryOrderList/data.go index aa90c8487..4804acd9d 100644 --- a/iSolarCloud/sungro/AppService/queryOrderList/data.go +++ b/iSolarCloud/sungro/AppService/queryOrderList/data.go @@ -1,7 +1,7 @@ package queryOrderList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOrderList/struct.go b/iSolarCloud/sungro/AppService/queryOrderList/struct.go index c8b9e44fa..58f759bcd 100644 --- a/iSolarCloud/sungro/AppService/queryOrderList/struct.go +++ b/iSolarCloud/sungro/AppService/queryOrderList/struct.go @@ -1,9 +1,9 @@ package queryOrderList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOrderStep/data.go b/iSolarCloud/sungro/AppService/queryOrderStep/data.go index e7e42750e..3631d2128 100644 --- a/iSolarCloud/sungro/AppService/queryOrderStep/data.go +++ b/iSolarCloud/sungro/AppService/queryOrderStep/data.go @@ -1,7 +1,7 @@ package queryOrderStep import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOrderStep/struct.go b/iSolarCloud/sungro/AppService/queryOrderStep/struct.go index 10cfa62e4..ee17aed12 100644 --- a/iSolarCloud/sungro/AppService/queryOrderStep/struct.go +++ b/iSolarCloud/sungro/AppService/queryOrderStep/struct.go @@ -1,9 +1,9 @@ package queryOrderStep import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOrgGenerationReport/data.go b/iSolarCloud/sungro/AppService/queryOrgGenerationReport/data.go index d1453c293..f36539fc6 100644 --- a/iSolarCloud/sungro/AppService/queryOrgGenerationReport/data.go +++ b/iSolarCloud/sungro/AppService/queryOrgGenerationReport/data.go @@ -1,7 +1,7 @@ package queryOrgGenerationReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOrgGenerationReport/struct.go b/iSolarCloud/sungro/AppService/queryOrgGenerationReport/struct.go index 5137c78bc..ca6345381 100644 --- a/iSolarCloud/sungro/AppService/queryOrgGenerationReport/struct.go +++ b/iSolarCloud/sungro/AppService/queryOrgGenerationReport/struct.go @@ -1,9 +1,9 @@ package queryOrgGenerationReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOrgInfoList/data.go b/iSolarCloud/sungro/AppService/queryOrgInfoList/data.go index 2df52096d..5fbd8efc1 100644 --- a/iSolarCloud/sungro/AppService/queryOrgInfoList/data.go +++ b/iSolarCloud/sungro/AppService/queryOrgInfoList/data.go @@ -1,7 +1,7 @@ package queryOrgInfoList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOrgInfoList/struct.go b/iSolarCloud/sungro/AppService/queryOrgInfoList/struct.go index 825c2c50a..e42e51eab 100644 --- a/iSolarCloud/sungro/AppService/queryOrgInfoList/struct.go +++ b/iSolarCloud/sungro/AppService/queryOrgInfoList/struct.go @@ -1,9 +1,9 @@ package queryOrgInfoList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/data.go b/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/data.go index 052346802..da444a179 100644 --- a/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/data.go +++ b/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/data.go @@ -1,7 +1,7 @@ package queryOrgPowerElecPercent import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/struct.go b/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/struct.go index e52c8836e..c0bdb67c4 100644 --- a/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/struct.go +++ b/iSolarCloud/sungro/AppService/queryOrgPowerElecPercent/struct.go @@ -1,9 +1,9 @@ package queryOrgPowerElecPercent import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/data.go b/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/data.go index 119431062..a29f73af2 100644 --- a/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/data.go +++ b/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/data.go @@ -1,7 +1,7 @@ package queryOrgPsCompensationRecordList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/struct.go b/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/struct.go index 55bad6a26..39fc41695 100644 --- a/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/struct.go +++ b/iSolarCloud/sungro/AppService/queryOrgPsCompensationRecordList/struct.go @@ -1,9 +1,9 @@ package queryOrgPsCompensationRecordList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryParamSettingTask/data.go b/iSolarCloud/sungro/AppService/queryParamSettingTask/data.go index de8a04c87..3186f01d7 100644 --- a/iSolarCloud/sungro/AppService/queryParamSettingTask/data.go +++ b/iSolarCloud/sungro/AppService/queryParamSettingTask/data.go @@ -1,7 +1,7 @@ package queryParamSettingTask import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryParamSettingTask/struct.go b/iSolarCloud/sungro/AppService/queryParamSettingTask/struct.go index a5cc55e6e..77640df68 100644 --- a/iSolarCloud/sungro/AppService/queryParamSettingTask/struct.go +++ b/iSolarCloud/sungro/AppService/queryParamSettingTask/struct.go @@ -1,9 +1,9 @@ package queryParamSettingTask import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPersonalUnitList/data.go b/iSolarCloud/sungro/AppService/queryPersonalUnitList/data.go index b35b59624..91d9bc9a3 100644 --- a/iSolarCloud/sungro/AppService/queryPersonalUnitList/data.go +++ b/iSolarCloud/sungro/AppService/queryPersonalUnitList/data.go @@ -1,7 +1,7 @@ package queryPersonalUnitList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPersonalUnitList/struct.go b/iSolarCloud/sungro/AppService/queryPersonalUnitList/struct.go index 38bb13d10..75fd48337 100644 --- a/iSolarCloud/sungro/AppService/queryPersonalUnitList/struct.go +++ b/iSolarCloud/sungro/AppService/queryPersonalUnitList/struct.go @@ -1,9 +1,9 @@ package queryPersonalUnitList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPointDataTopOne/data.go b/iSolarCloud/sungro/AppService/queryPointDataTopOne/data.go index 16b95c575..78c41a5e2 100644 --- a/iSolarCloud/sungro/AppService/queryPointDataTopOne/data.go +++ b/iSolarCloud/sungro/AppService/queryPointDataTopOne/data.go @@ -1,7 +1,7 @@ package queryPointDataTopOne import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPointDataTopOne/struct.go b/iSolarCloud/sungro/AppService/queryPointDataTopOne/struct.go index 98eab3717..ea3161ee3 100644 --- a/iSolarCloud/sungro/AppService/queryPointDataTopOne/struct.go +++ b/iSolarCloud/sungro/AppService/queryPointDataTopOne/struct.go @@ -1,9 +1,9 @@ package queryPointDataTopOne import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPowerStationInfo/data.go b/iSolarCloud/sungro/AppService/queryPowerStationInfo/data.go index cbe1099a3..e6f26ad46 100644 --- a/iSolarCloud/sungro/AppService/queryPowerStationInfo/data.go +++ b/iSolarCloud/sungro/AppService/queryPowerStationInfo/data.go @@ -1,7 +1,7 @@ package queryPowerStationInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPowerStationInfo/struct.go b/iSolarCloud/sungro/AppService/queryPowerStationInfo/struct.go index 2e23d5939..1b6e93dbf 100644 --- a/iSolarCloud/sungro/AppService/queryPowerStationInfo/struct.go +++ b/iSolarCloud/sungro/AppService/queryPowerStationInfo/struct.go @@ -1,9 +1,9 @@ package queryPowerStationInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/data.go b/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/data.go index b924a2fef..ea6878c92 100644 --- a/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/data.go +++ b/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/data.go @@ -1,7 +1,7 @@ package queryPsAreaByUserIdAndAreaCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/struct.go b/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/struct.go index cea3d012d..d9cd72a93 100644 --- a/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsAreaByUserIdAndAreaCode/struct.go @@ -1,9 +1,9 @@ package queryPsAreaByUserIdAndAreaCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/data.go b/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/data.go index 34c76c25d..424a0d839 100644 --- a/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/data.go +++ b/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/data.go @@ -1,7 +1,7 @@ package queryPsCompensationRecordList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/struct.go b/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/struct.go index ab70e73d5..444ebfd98 100644 --- a/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsCompensationRecordList/struct.go @@ -1,9 +1,9 @@ package queryPsCompensationRecordList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsDataByDate/data.go b/iSolarCloud/sungro/AppService/queryPsDataByDate/data.go index a5e62f711..e71c63a89 100644 --- a/iSolarCloud/sungro/AppService/queryPsDataByDate/data.go +++ b/iSolarCloud/sungro/AppService/queryPsDataByDate/data.go @@ -1,7 +1,7 @@ package queryPsDataByDate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsDataByDate/struct.go b/iSolarCloud/sungro/AppService/queryPsDataByDate/struct.go index 56c015448..10198f9fc 100644 --- a/iSolarCloud/sungro/AppService/queryPsDataByDate/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsDataByDate/struct.go @@ -1,9 +1,9 @@ package queryPsDataByDate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsIdList/data.go b/iSolarCloud/sungro/AppService/queryPsIdList/data.go index 0b63e54e6..805852d39 100644 --- a/iSolarCloud/sungro/AppService/queryPsIdList/data.go +++ b/iSolarCloud/sungro/AppService/queryPsIdList/data.go @@ -1,7 +1,7 @@ package queryPsIdList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsIdList/struct.go b/iSolarCloud/sungro/AppService/queryPsIdList/struct.go index e85a2f1af..4aad6beef 100644 --- a/iSolarCloud/sungro/AppService/queryPsIdList/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsIdList/struct.go @@ -1,9 +1,9 @@ package queryPsIdList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/data.go b/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/data.go index 837a98b56..01c5ae9ec 100644 --- a/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/data.go +++ b/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/data.go @@ -1,7 +1,7 @@ package queryPsListByUserIdAndAreaCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/struct.go b/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/struct.go index ad010e851..56e7b35ce 100644 --- a/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsListByUserIdAndAreaCode/struct.go @@ -1,9 +1,9 @@ package queryPsListByUserIdAndAreaCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsNameByPsId/data.go b/iSolarCloud/sungro/AppService/queryPsNameByPsId/data.go index 8ccf621e8..8768ae02b 100644 --- a/iSolarCloud/sungro/AppService/queryPsNameByPsId/data.go +++ b/iSolarCloud/sungro/AppService/queryPsNameByPsId/data.go @@ -1,7 +1,7 @@ package queryPsNameByPsId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsNameByPsId/struct.go b/iSolarCloud/sungro/AppService/queryPsNameByPsId/struct.go index 6d5cedc30..58dcdf42f 100644 --- a/iSolarCloud/sungro/AppService/queryPsNameByPsId/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsNameByPsId/struct.go @@ -1,9 +1,9 @@ package queryPsNameByPsId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsPrByDate/data.go b/iSolarCloud/sungro/AppService/queryPsPrByDate/data.go index 0d545252b..79db0be26 100644 --- a/iSolarCloud/sungro/AppService/queryPsPrByDate/data.go +++ b/iSolarCloud/sungro/AppService/queryPsPrByDate/data.go @@ -1,7 +1,7 @@ package queryPsPrByDate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsPrByDate/struct.go b/iSolarCloud/sungro/AppService/queryPsPrByDate/struct.go index 2f2063868..dbdf41a07 100644 --- a/iSolarCloud/sungro/AppService/queryPsPrByDate/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsPrByDate/struct.go @@ -1,9 +1,9 @@ package queryPsPrByDate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsProfit/data.go b/iSolarCloud/sungro/AppService/queryPsProfit/data.go index 0e952118f..7839c8556 100644 --- a/iSolarCloud/sungro/AppService/queryPsProfit/data.go +++ b/iSolarCloud/sungro/AppService/queryPsProfit/data.go @@ -1,7 +1,7 @@ package queryPsProfit import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsProfit/struct.go b/iSolarCloud/sungro/AppService/queryPsProfit/struct.go index de722f813..7c6e87735 100644 --- a/iSolarCloud/sungro/AppService/queryPsProfit/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsProfit/struct.go @@ -1,9 +1,9 @@ package queryPsProfit import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go b/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go index 0d1e108f3..ced735474 100644 --- a/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go +++ b/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/data.go @@ -1,7 +1,7 @@ package queryPsReportComparativeAnalysisOfPowerGeneration import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go b/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go index eef88cd1f..74cdbc46a 100644 --- a/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsReportComparativeAnalysisOfPowerGeneration/struct.go @@ -1,9 +1,9 @@ package queryPsReportComparativeAnalysisOfPowerGeneration import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPsStructureList/data.go b/iSolarCloud/sungro/AppService/queryPsStructureList/data.go index 5843f54f3..d0d729c04 100644 --- a/iSolarCloud/sungro/AppService/queryPsStructureList/data.go +++ b/iSolarCloud/sungro/AppService/queryPsStructureList/data.go @@ -1,7 +1,7 @@ package queryPsStructureList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPsStructureList/struct.go b/iSolarCloud/sungro/AppService/queryPsStructureList/struct.go index 11ce1ade8..f353a5b1f 100644 --- a/iSolarCloud/sungro/AppService/queryPsStructureList/struct.go +++ b/iSolarCloud/sungro/AppService/queryPsStructureList/struct.go @@ -1,9 +1,9 @@ package queryPsStructureList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/data.go b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/data.go index 0cffe4064..d4d2e9d91 100644 --- a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/data.go +++ b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/data.go @@ -1,7 +1,7 @@ package queryPuuidsByCommandTotalId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/struct.go b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/struct.go index d073e456b..d0c337887 100644 --- a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/struct.go +++ b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId/struct.go @@ -1,9 +1,9 @@ package queryPuuidsByCommandTotalId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/data.go b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/data.go index 5795da098..e9c45766a 100644 --- a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/data.go +++ b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/data.go @@ -1,7 +1,7 @@ package queryPuuidsByCommandTotalId2 import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/struct.go b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/struct.go index 47e688126..6dba32ab8 100644 --- a/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/struct.go +++ b/iSolarCloud/sungro/AppService/queryPuuidsByCommandTotalId2/struct.go @@ -1,9 +1,9 @@ package queryPuuidsByCommandTotalId2 import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryRepairRuleList/data.go b/iSolarCloud/sungro/AppService/queryRepairRuleList/data.go index fd0def6fb..22c862c0f 100644 --- a/iSolarCloud/sungro/AppService/queryRepairRuleList/data.go +++ b/iSolarCloud/sungro/AppService/queryRepairRuleList/data.go @@ -1,7 +1,7 @@ package queryRepairRuleList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryRepairRuleList/struct.go b/iSolarCloud/sungro/AppService/queryRepairRuleList/struct.go index e799be7b7..5fabfb61e 100644 --- a/iSolarCloud/sungro/AppService/queryRepairRuleList/struct.go +++ b/iSolarCloud/sungro/AppService/queryRepairRuleList/struct.go @@ -1,9 +1,9 @@ package queryRepairRuleList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryReportListForManagementPage/data.go b/iSolarCloud/sungro/AppService/queryReportListForManagementPage/data.go index b551260a0..a18d250db 100644 --- a/iSolarCloud/sungro/AppService/queryReportListForManagementPage/data.go +++ b/iSolarCloud/sungro/AppService/queryReportListForManagementPage/data.go @@ -1,7 +1,7 @@ package queryReportListForManagementPage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryReportListForManagementPage/struct.go b/iSolarCloud/sungro/AppService/queryReportListForManagementPage/struct.go index 35a1852e9..8cca8f204 100644 --- a/iSolarCloud/sungro/AppService/queryReportListForManagementPage/struct.go +++ b/iSolarCloud/sungro/AppService/queryReportListForManagementPage/struct.go @@ -1,9 +1,9 @@ package queryReportListForManagementPage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryReportMsg/data.go b/iSolarCloud/sungro/AppService/queryReportMsg/data.go index 7f1a854a5..ffb1719e0 100644 --- a/iSolarCloud/sungro/AppService/queryReportMsg/data.go +++ b/iSolarCloud/sungro/AppService/queryReportMsg/data.go @@ -1,7 +1,7 @@ package queryReportMsg import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryReportMsg/struct.go b/iSolarCloud/sungro/AppService/queryReportMsg/struct.go index 6ca80da48..90b5b5a30 100644 --- a/iSolarCloud/sungro/AppService/queryReportMsg/struct.go +++ b/iSolarCloud/sungro/AppService/queryReportMsg/struct.go @@ -1,9 +1,9 @@ package queryReportMsg import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/querySharingPs/data.go b/iSolarCloud/sungro/AppService/querySharingPs/data.go index 662afd49b..4c7ff58a7 100644 --- a/iSolarCloud/sungro/AppService/querySharingPs/data.go +++ b/iSolarCloud/sungro/AppService/querySharingPs/data.go @@ -1,7 +1,7 @@ package querySharingPs import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/querySharingPs/struct.go b/iSolarCloud/sungro/AppService/querySharingPs/struct.go index 904972fb8..010d0cf9d 100644 --- a/iSolarCloud/sungro/AppService/querySharingPs/struct.go +++ b/iSolarCloud/sungro/AppService/querySharingPs/struct.go @@ -1,9 +1,9 @@ package querySharingPs import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/querySysAdvancedParam/data.go b/iSolarCloud/sungro/AppService/querySysAdvancedParam/data.go index bacd0955b..847ad0255 100644 --- a/iSolarCloud/sungro/AppService/querySysAdvancedParam/data.go +++ b/iSolarCloud/sungro/AppService/querySysAdvancedParam/data.go @@ -1,7 +1,7 @@ package querySysAdvancedParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/querySysAdvancedParam/struct.go b/iSolarCloud/sungro/AppService/querySysAdvancedParam/struct.go index c45e0af19..150afa7b4 100644 --- a/iSolarCloud/sungro/AppService/querySysAdvancedParam/struct.go +++ b/iSolarCloud/sungro/AppService/querySysAdvancedParam/struct.go @@ -1,9 +1,9 @@ package querySysAdvancedParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryTimeBySN/data.go b/iSolarCloud/sungro/AppService/queryTimeBySN/data.go index 849b73192..565e30851 100644 --- a/iSolarCloud/sungro/AppService/queryTimeBySN/data.go +++ b/iSolarCloud/sungro/AppService/queryTimeBySN/data.go @@ -1,7 +1,7 @@ package queryTimeBySN import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryTimeBySN/struct.go b/iSolarCloud/sungro/AppService/queryTimeBySN/struct.go index f09b2ccda..552c19081 100644 --- a/iSolarCloud/sungro/AppService/queryTimeBySN/struct.go +++ b/iSolarCloud/sungro/AppService/queryTimeBySN/struct.go @@ -1,9 +1,9 @@ package queryTimeBySN import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/data.go b/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/data.go index 8a8261dd2..5945e39f9 100644 --- a/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/data.go +++ b/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/data.go @@ -1,7 +1,7 @@ package queryTrafficByDateCTCC import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/struct.go b/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/struct.go index 385d88252..f038205bd 100644 --- a/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/struct.go +++ b/iSolarCloud/sungro/AppService/queryTrafficByDateCTCC/struct.go @@ -1,9 +1,9 @@ package queryTrafficByDateCTCC import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryTrafficCTCC/data.go b/iSolarCloud/sungro/AppService/queryTrafficCTCC/data.go index e10183267..c4e0d1237 100644 --- a/iSolarCloud/sungro/AppService/queryTrafficCTCC/data.go +++ b/iSolarCloud/sungro/AppService/queryTrafficCTCC/data.go @@ -1,7 +1,7 @@ package queryTrafficCTCC import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryTrafficCTCC/struct.go b/iSolarCloud/sungro/AppService/queryTrafficCTCC/struct.go index 1fb79ce70..e36404f6b 100644 --- a/iSolarCloud/sungro/AppService/queryTrafficCTCC/struct.go +++ b/iSolarCloud/sungro/AppService/queryTrafficCTCC/struct.go @@ -1,9 +1,9 @@ package queryTrafficCTCC import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUnitList/data.go b/iSolarCloud/sungro/AppService/queryUnitList/data.go index 7d0927832..c96be1184 100644 --- a/iSolarCloud/sungro/AppService/queryUnitList/data.go +++ b/iSolarCloud/sungro/AppService/queryUnitList/data.go @@ -1,7 +1,7 @@ package queryUnitList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUnitList/struct.go b/iSolarCloud/sungro/AppService/queryUnitList/struct.go index 461d6d8f1..57e626d65 100644 --- a/iSolarCloud/sungro/AppService/queryUnitList/struct.go +++ b/iSolarCloud/sungro/AppService/queryUnitList/struct.go @@ -1,9 +1,9 @@ package queryUnitList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/data.go b/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/data.go index 0f61261f9..817d97fa6 100644 --- a/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/data.go +++ b/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/data.go @@ -1,7 +1,7 @@ package queryUnitUuidBytotalId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/struct.go b/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/struct.go index 6351a4185..32b7dcca8 100644 --- a/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/struct.go +++ b/iSolarCloud/sungro/AppService/queryUnitUuidBytotalId/struct.go @@ -1,9 +1,9 @@ package queryUnitUuidBytotalId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserBtnPri/data.go b/iSolarCloud/sungro/AppService/queryUserBtnPri/data.go index 3840cad55..92ffe92f9 100644 --- a/iSolarCloud/sungro/AppService/queryUserBtnPri/data.go +++ b/iSolarCloud/sungro/AppService/queryUserBtnPri/data.go @@ -1,7 +1,7 @@ package queryUserBtnPri import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserBtnPri/struct.go b/iSolarCloud/sungro/AppService/queryUserBtnPri/struct.go index 512397354..17c75895f 100644 --- a/iSolarCloud/sungro/AppService/queryUserBtnPri/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserBtnPri/struct.go @@ -1,9 +1,9 @@ package queryUserBtnPri import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserByUserIds/data.go b/iSolarCloud/sungro/AppService/queryUserByUserIds/data.go index 550311eb4..5c032fb0f 100644 --- a/iSolarCloud/sungro/AppService/queryUserByUserIds/data.go +++ b/iSolarCloud/sungro/AppService/queryUserByUserIds/data.go @@ -1,7 +1,7 @@ package queryUserByUserIds import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserByUserIds/struct.go b/iSolarCloud/sungro/AppService/queryUserByUserIds/struct.go index ae0fc4129..8eab42fff 100644 --- a/iSolarCloud/sungro/AppService/queryUserByUserIds/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserByUserIds/struct.go @@ -1,9 +1,9 @@ package queryUserByUserIds import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/data.go b/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/data.go index da386a40c..bd553defd 100644 --- a/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/data.go +++ b/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/data.go @@ -1,7 +1,7 @@ package queryUserExtensionAttribute import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/struct.go b/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/struct.go index 71cf06c06..ce1f8da3b 100644 --- a/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserExtensionAttribute/struct.go @@ -1,9 +1,9 @@ package queryUserExtensionAttribute import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserForStep/data.go b/iSolarCloud/sungro/AppService/queryUserForStep/data.go index 7e0a6a870..ab965bcf6 100644 --- a/iSolarCloud/sungro/AppService/queryUserForStep/data.go +++ b/iSolarCloud/sungro/AppService/queryUserForStep/data.go @@ -1,7 +1,7 @@ package queryUserForStep import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserForStep/struct.go b/iSolarCloud/sungro/AppService/queryUserForStep/struct.go index df31fa9d7..be4be20cd 100644 --- a/iSolarCloud/sungro/AppService/queryUserForStep/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserForStep/struct.go @@ -1,9 +1,9 @@ package queryUserForStep import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserList/data.go b/iSolarCloud/sungro/AppService/queryUserList/data.go index d1fc914d6..bda144fad 100644 --- a/iSolarCloud/sungro/AppService/queryUserList/data.go +++ b/iSolarCloud/sungro/AppService/queryUserList/data.go @@ -1,7 +1,7 @@ package queryUserList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserList/struct.go b/iSolarCloud/sungro/AppService/queryUserList/struct.go index 59e63d15c..eb5e5e837 100644 --- a/iSolarCloud/sungro/AppService/queryUserList/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserList/struct.go @@ -1,9 +1,9 @@ package queryUserList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserProcessPri/data.go b/iSolarCloud/sungro/AppService/queryUserProcessPri/data.go index bf47775ee..37f35ed27 100644 --- a/iSolarCloud/sungro/AppService/queryUserProcessPri/data.go +++ b/iSolarCloud/sungro/AppService/queryUserProcessPri/data.go @@ -1,7 +1,7 @@ package queryUserProcessPri import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserProcessPri/struct.go b/iSolarCloud/sungro/AppService/queryUserProcessPri/struct.go index bace5ba7a..dfd1fe8d8 100644 --- a/iSolarCloud/sungro/AppService/queryUserProcessPri/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserProcessPri/struct.go @@ -1,9 +1,9 @@ package queryUserProcessPri import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUserWechatBindRel/data.go b/iSolarCloud/sungro/AppService/queryUserWechatBindRel/data.go index 78cb2d171..3d054cff7 100644 --- a/iSolarCloud/sungro/AppService/queryUserWechatBindRel/data.go +++ b/iSolarCloud/sungro/AppService/queryUserWechatBindRel/data.go @@ -1,7 +1,7 @@ package queryUserWechatBindRel import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUserWechatBindRel/struct.go b/iSolarCloud/sungro/AppService/queryUserWechatBindRel/struct.go index 34d8967fd..1160e6cf8 100644 --- a/iSolarCloud/sungro/AppService/queryUserWechatBindRel/struct.go +++ b/iSolarCloud/sungro/AppService/queryUserWechatBindRel/struct.go @@ -1,9 +1,9 @@ package queryUserWechatBindRel import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/data.go b/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/data.go index 5164657fd..e007da929 100644 --- a/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/data.go +++ b/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/data.go @@ -1,7 +1,7 @@ package queryUuidByTotalIdAndUuid import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/struct.go b/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/struct.go index 2a111f5a4..cd4370447 100644 --- a/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/struct.go +++ b/iSolarCloud/sungro/AppService/queryUuidByTotalIdAndUuid/struct.go @@ -1,9 +1,9 @@ package queryUuidByTotalIdAndUuid import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/data.go b/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/data.go index 24535c1ac..26444dd19 100644 --- a/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/data.go +++ b/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/data.go @@ -1,7 +1,7 @@ package rechargeOrderSetMeal import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/struct.go b/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/struct.go index a811c7cbc..7367659bf 100644 --- a/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/struct.go +++ b/iSolarCloud/sungro/AppService/rechargeOrderSetMeal/struct.go @@ -1,9 +1,9 @@ package rechargeOrderSetMeal import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/data.go b/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/data.go index 803a2d5f2..688b93308 100644 --- a/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/data.go +++ b/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/data.go @@ -1,7 +1,7 @@ package renewSendReportConfirmEmail import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/struct.go b/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/struct.go index daddb766a..2cbbc3144 100644 --- a/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/struct.go +++ b/iSolarCloud/sungro/AppService/renewSendReportConfirmEmail/struct.go @@ -1,9 +1,9 @@ package renewSendReportConfirmEmail import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/reportList/data.go b/iSolarCloud/sungro/AppService/reportList/data.go index b66c46316..b0d8743be 100644 --- a/iSolarCloud/sungro/AppService/reportList/data.go +++ b/iSolarCloud/sungro/AppService/reportList/data.go @@ -1,7 +1,7 @@ package reportList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/reportList/struct.go b/iSolarCloud/sungro/AppService/reportList/struct.go index c7e9a8616..1deae57a4 100644 --- a/iSolarCloud/sungro/AppService/reportList/struct.go +++ b/iSolarCloud/sungro/AppService/reportList/struct.go @@ -1,9 +1,9 @@ package reportList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveCustomerEmployee/data.go b/iSolarCloud/sungro/AppService/saveCustomerEmployee/data.go index 420970667..ee4d8ac66 100644 --- a/iSolarCloud/sungro/AppService/saveCustomerEmployee/data.go +++ b/iSolarCloud/sungro/AppService/saveCustomerEmployee/data.go @@ -1,7 +1,7 @@ package saveCustomerEmployee import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveCustomerEmployee/struct.go b/iSolarCloud/sungro/AppService/saveCustomerEmployee/struct.go index 68606f04c..9f1ac33fd 100644 --- a/iSolarCloud/sungro/AppService/saveCustomerEmployee/struct.go +++ b/iSolarCloud/sungro/AppService/saveCustomerEmployee/struct.go @@ -1,9 +1,9 @@ package saveCustomerEmployee import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveDevSimList/data.go b/iSolarCloud/sungro/AppService/saveDevSimList/data.go index fbfc9323e..955b989b8 100644 --- a/iSolarCloud/sungro/AppService/saveDevSimList/data.go +++ b/iSolarCloud/sungro/AppService/saveDevSimList/data.go @@ -1,7 +1,7 @@ package saveDevSimList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveDevSimList/struct.go b/iSolarCloud/sungro/AppService/saveDevSimList/struct.go index e978cab0d..03f2b1c13 100644 --- a/iSolarCloud/sungro/AppService/saveDevSimList/struct.go +++ b/iSolarCloud/sungro/AppService/saveDevSimList/struct.go @@ -1,9 +1,9 @@ package saveDevSimList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/data.go b/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/data.go index b5c3df840..3ba714aea 100644 --- a/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/data.go +++ b/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/data.go @@ -1,7 +1,7 @@ package saveDeviceAccountBatchData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/struct.go b/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/struct.go index c1a01c048..1ba05aace 100644 --- a/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/struct.go +++ b/iSolarCloud/sungro/AppService/saveDeviceAccountBatchData/struct.go @@ -1,9 +1,9 @@ package saveDeviceAccountBatchData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/data.go b/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/data.go index d3deccddf..df6813771 100644 --- a/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/data.go +++ b/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/data.go @@ -1,7 +1,7 @@ package saveEnviromentIncomeInfos import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/struct.go b/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/struct.go index 082120d29..16ac0102e 100644 --- a/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/struct.go +++ b/iSolarCloud/sungro/AppService/saveEnviromentIncomeInfos/struct.go @@ -1,9 +1,9 @@ package saveEnviromentIncomeInfos import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveEnvironmentCurve/data.go b/iSolarCloud/sungro/AppService/saveEnvironmentCurve/data.go index cb811ce34..31f251a56 100644 --- a/iSolarCloud/sungro/AppService/saveEnvironmentCurve/data.go +++ b/iSolarCloud/sungro/AppService/saveEnvironmentCurve/data.go @@ -1,7 +1,7 @@ package saveEnvironmentCurve import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveEnvironmentCurve/struct.go b/iSolarCloud/sungro/AppService/saveEnvironmentCurve/struct.go index 1ad3ed603..b20d5ddc8 100644 --- a/iSolarCloud/sungro/AppService/saveEnvironmentCurve/struct.go +++ b/iSolarCloud/sungro/AppService/saveEnvironmentCurve/struct.go @@ -1,9 +1,9 @@ package saveEnvironmentCurve import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveFirmwareFile/data.go b/iSolarCloud/sungro/AppService/saveFirmwareFile/data.go index f02672536..c11f04995 100644 --- a/iSolarCloud/sungro/AppService/saveFirmwareFile/data.go +++ b/iSolarCloud/sungro/AppService/saveFirmwareFile/data.go @@ -1,7 +1,7 @@ package saveFirmwareFile import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveFirmwareFile/struct.go b/iSolarCloud/sungro/AppService/saveFirmwareFile/struct.go index 50b6d608e..0645567e8 100644 --- a/iSolarCloud/sungro/AppService/saveFirmwareFile/struct.go +++ b/iSolarCloud/sungro/AppService/saveFirmwareFile/struct.go @@ -1,9 +1,9 @@ package saveFirmwareFile import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/data.go b/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/data.go index 94dc4a205..90171fdda 100644 --- a/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/data.go +++ b/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/data.go @@ -1,7 +1,7 @@ package saveIncomeSettingInfos import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/struct.go b/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/struct.go index a34cea911..c71ed8b7b 100644 --- a/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/struct.go +++ b/iSolarCloud/sungro/AppService/saveIncomeSettingInfos/struct.go @@ -1,9 +1,9 @@ package saveIncomeSettingInfos import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/data.go b/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/data.go index 743608527..af6ca8c60 100644 --- a/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/data.go +++ b/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/data.go @@ -1,7 +1,7 @@ package saveOrUpdateGroupStringCheckRule import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/struct.go b/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/struct.go index 52fa84ae4..a7e0057a5 100644 --- a/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/struct.go +++ b/iSolarCloud/sungro/AppService/saveOrUpdateGroupStringCheckRule/struct.go @@ -1,9 +1,9 @@ package saveOrUpdateGroupStringCheckRule import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveParamModel/data.go b/iSolarCloud/sungro/AppService/saveParamModel/data.go index 1fbb01475..46d8444c9 100644 --- a/iSolarCloud/sungro/AppService/saveParamModel/data.go +++ b/iSolarCloud/sungro/AppService/saveParamModel/data.go @@ -1,7 +1,7 @@ package saveParamModel import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveParamModel/struct.go b/iSolarCloud/sungro/AppService/saveParamModel/struct.go index 684c7c378..8585bf68b 100644 --- a/iSolarCloud/sungro/AppService/saveParamModel/struct.go +++ b/iSolarCloud/sungro/AppService/saveParamModel/struct.go @@ -1,9 +1,9 @@ package saveParamModel import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/savePowerCharges/data.go b/iSolarCloud/sungro/AppService/savePowerCharges/data.go index 8d984a2b8..76f0fb7af 100644 --- a/iSolarCloud/sungro/AppService/savePowerCharges/data.go +++ b/iSolarCloud/sungro/AppService/savePowerCharges/data.go @@ -1,7 +1,7 @@ package savePowerCharges import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/savePowerCharges/struct.go b/iSolarCloud/sungro/AppService/savePowerCharges/struct.go index bff21518c..716a0e1a4 100644 --- a/iSolarCloud/sungro/AppService/savePowerCharges/struct.go +++ b/iSolarCloud/sungro/AppService/savePowerCharges/struct.go @@ -1,9 +1,9 @@ package savePowerCharges import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/savePowerDevicePoint/data.go b/iSolarCloud/sungro/AppService/savePowerDevicePoint/data.go index 4b816e888..95711cdea 100644 --- a/iSolarCloud/sungro/AppService/savePowerDevicePoint/data.go +++ b/iSolarCloud/sungro/AppService/savePowerDevicePoint/data.go @@ -1,7 +1,7 @@ package savePowerDevicePoint import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/savePowerDevicePoint/struct.go b/iSolarCloud/sungro/AppService/savePowerDevicePoint/struct.go index a82146073..6758a86f8 100644 --- a/iSolarCloud/sungro/AppService/savePowerDevicePoint/struct.go +++ b/iSolarCloud/sungro/AppService/savePowerDevicePoint/struct.go @@ -1,9 +1,9 @@ package savePowerDevicePoint import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/savePowerRobotInfo/data.go b/iSolarCloud/sungro/AppService/savePowerRobotInfo/data.go index 0a537936d..6f7f0acbc 100644 --- a/iSolarCloud/sungro/AppService/savePowerRobotInfo/data.go +++ b/iSolarCloud/sungro/AppService/savePowerRobotInfo/data.go @@ -1,7 +1,7 @@ package savePowerRobotInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/savePowerRobotInfo/struct.go b/iSolarCloud/sungro/AppService/savePowerRobotInfo/struct.go index 51b95117f..5b474cdbd 100644 --- a/iSolarCloud/sungro/AppService/savePowerRobotInfo/struct.go +++ b/iSolarCloud/sungro/AppService/savePowerRobotInfo/struct.go @@ -1,9 +1,9 @@ package savePowerRobotInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/data.go b/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/data.go index ccb9f2cd7..34d8783b0 100644 --- a/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/data.go +++ b/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/data.go @@ -1,7 +1,7 @@ package savePowerRobotSweepAttr import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/struct.go b/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/struct.go index 36351adee..fbf4fcd60 100644 --- a/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/struct.go +++ b/iSolarCloud/sungro/AppService/savePowerRobotSweepAttr/struct.go @@ -1,9 +1,9 @@ package savePowerRobotSweepAttr import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/savePowerSettingCharges/data.go b/iSolarCloud/sungro/AppService/savePowerSettingCharges/data.go index e97332886..77a8c72b2 100644 --- a/iSolarCloud/sungro/AppService/savePowerSettingCharges/data.go +++ b/iSolarCloud/sungro/AppService/savePowerSettingCharges/data.go @@ -1,7 +1,7 @@ package savePowerSettingCharges import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/savePowerSettingCharges/struct.go b/iSolarCloud/sungro/AppService/savePowerSettingCharges/struct.go index 0a8f14e0f..a176cdcbd 100644 --- a/iSolarCloud/sungro/AppService/savePowerSettingCharges/struct.go +++ b/iSolarCloud/sungro/AppService/savePowerSettingCharges/struct.go @@ -1,9 +1,9 @@ package savePowerSettingCharges import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/savePowerSettingInfo/data.go b/iSolarCloud/sungro/AppService/savePowerSettingInfo/data.go index 5cdaf78ce..9454416c1 100644 --- a/iSolarCloud/sungro/AppService/savePowerSettingInfo/data.go +++ b/iSolarCloud/sungro/AppService/savePowerSettingInfo/data.go @@ -1,7 +1,7 @@ package savePowerSettingInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/savePowerSettingInfo/struct.go b/iSolarCloud/sungro/AppService/savePowerSettingInfo/struct.go index ee5d85c12..7d24acf84 100644 --- a/iSolarCloud/sungro/AppService/savePowerSettingInfo/struct.go +++ b/iSolarCloud/sungro/AppService/savePowerSettingInfo/struct.go @@ -1,9 +1,9 @@ package savePowerSettingInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveProductionBatchData/data.go b/iSolarCloud/sungro/AppService/saveProductionBatchData/data.go index 90fabc35a..71ca46207 100644 --- a/iSolarCloud/sungro/AppService/saveProductionBatchData/data.go +++ b/iSolarCloud/sungro/AppService/saveProductionBatchData/data.go @@ -1,7 +1,7 @@ package saveProductionBatchData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveProductionBatchData/struct.go b/iSolarCloud/sungro/AppService/saveProductionBatchData/struct.go index 169149290..2638b3617 100644 --- a/iSolarCloud/sungro/AppService/saveProductionBatchData/struct.go +++ b/iSolarCloud/sungro/AppService/saveProductionBatchData/struct.go @@ -1,9 +1,9 @@ package saveProductionBatchData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveRechargeOrderObj/data.go b/iSolarCloud/sungro/AppService/saveRechargeOrderObj/data.go index bebd6650a..16a43805d 100644 --- a/iSolarCloud/sungro/AppService/saveRechargeOrderObj/data.go +++ b/iSolarCloud/sungro/AppService/saveRechargeOrderObj/data.go @@ -1,7 +1,7 @@ package saveRechargeOrderObj import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveRechargeOrderObj/struct.go b/iSolarCloud/sungro/AppService/saveRechargeOrderObj/struct.go index afa98fd54..27c4031e9 100644 --- a/iSolarCloud/sungro/AppService/saveRechargeOrderObj/struct.go +++ b/iSolarCloud/sungro/AppService/saveRechargeOrderObj/struct.go @@ -1,9 +1,9 @@ package saveRechargeOrderObj import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/data.go b/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/data.go index a31ab0945..a118acb19 100644 --- a/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/data.go +++ b/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/data.go @@ -1,7 +1,7 @@ package saveRechargeOrderOtherInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/struct.go b/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/struct.go index 2df1b9de6..baa0aae97 100644 --- a/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/struct.go +++ b/iSolarCloud/sungro/AppService/saveRechargeOrderOtherInfo/struct.go @@ -1,9 +1,9 @@ package saveRechargeOrderOtherInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveRepair/data.go b/iSolarCloud/sungro/AppService/saveRepair/data.go index 18c587b53..66d6de5e2 100644 --- a/iSolarCloud/sungro/AppService/saveRepair/data.go +++ b/iSolarCloud/sungro/AppService/saveRepair/data.go @@ -1,7 +1,7 @@ package saveRepair import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveRepair/struct.go b/iSolarCloud/sungro/AppService/saveRepair/struct.go index cb718968f..99877b0b5 100644 --- a/iSolarCloud/sungro/AppService/saveRepair/struct.go +++ b/iSolarCloud/sungro/AppService/saveRepair/struct.go @@ -1,9 +1,9 @@ package saveRepair import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveReportExportColumns/data.go b/iSolarCloud/sungro/AppService/saveReportExportColumns/data.go index c147eaf99..698bcc9a8 100644 --- a/iSolarCloud/sungro/AppService/saveReportExportColumns/data.go +++ b/iSolarCloud/sungro/AppService/saveReportExportColumns/data.go @@ -1,7 +1,7 @@ package saveReportExportColumns import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveReportExportColumns/struct.go b/iSolarCloud/sungro/AppService/saveReportExportColumns/struct.go index 8683cb63e..81ab6830b 100644 --- a/iSolarCloud/sungro/AppService/saveReportExportColumns/struct.go +++ b/iSolarCloud/sungro/AppService/saveReportExportColumns/struct.go @@ -1,9 +1,9 @@ package saveReportExportColumns import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveSetParam/data.go b/iSolarCloud/sungro/AppService/saveSetParam/data.go index a1bca276d..6a2da6d8e 100644 --- a/iSolarCloud/sungro/AppService/saveSetParam/data.go +++ b/iSolarCloud/sungro/AppService/saveSetParam/data.go @@ -1,7 +1,7 @@ package saveSetParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveSetParam/struct.go b/iSolarCloud/sungro/AppService/saveSetParam/struct.go index 14247bdfc..3934b8e80 100644 --- a/iSolarCloud/sungro/AppService/saveSetParam/struct.go +++ b/iSolarCloud/sungro/AppService/saveSetParam/struct.go @@ -1,9 +1,9 @@ package saveSetParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveSysUserMsg/data.go b/iSolarCloud/sungro/AppService/saveSysUserMsg/data.go index de05b8330..49d2453a1 100644 --- a/iSolarCloud/sungro/AppService/saveSysUserMsg/data.go +++ b/iSolarCloud/sungro/AppService/saveSysUserMsg/data.go @@ -1,7 +1,7 @@ package saveSysUserMsg import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveSysUserMsg/struct.go b/iSolarCloud/sungro/AppService/saveSysUserMsg/struct.go index 9c361b804..2399b297e 100644 --- a/iSolarCloud/sungro/AppService/saveSysUserMsg/struct.go +++ b/iSolarCloud/sungro/AppService/saveSysUserMsg/struct.go @@ -1,9 +1,9 @@ package saveSysUserMsg import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/saveTemplate/data.go b/iSolarCloud/sungro/AppService/saveTemplate/data.go index d10be505f..236f20d85 100644 --- a/iSolarCloud/sungro/AppService/saveTemplate/data.go +++ b/iSolarCloud/sungro/AppService/saveTemplate/data.go @@ -1,7 +1,7 @@ package saveTemplate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/saveTemplate/struct.go b/iSolarCloud/sungro/AppService/saveTemplate/struct.go index 57e1ba9a7..496502a9a 100644 --- a/iSolarCloud/sungro/AppService/saveTemplate/struct.go +++ b/iSolarCloud/sungro/AppService/saveTemplate/struct.go @@ -1,9 +1,9 @@ package saveTemplate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/data.go b/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/data.go index fd71eecae..1c9ca66eb 100644 --- a/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/data.go +++ b/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/data.go @@ -1,7 +1,7 @@ package searchM2MMonthFlowCMCC import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/struct.go b/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/struct.go index b7fc30133..1e8ec365a 100644 --- a/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/struct.go +++ b/iSolarCloud/sungro/AppService/searchM2MMonthFlowCMCC/struct.go @@ -1,9 +1,9 @@ package searchM2MMonthFlowCMCC import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/selectSysTranslationNames/data.go b/iSolarCloud/sungro/AppService/selectSysTranslationNames/data.go index 924320cd2..6b1f5ff38 100644 --- a/iSolarCloud/sungro/AppService/selectSysTranslationNames/data.go +++ b/iSolarCloud/sungro/AppService/selectSysTranslationNames/data.go @@ -1,7 +1,7 @@ package selectSysTranslationNames import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/selectSysTranslationNames/struct.go b/iSolarCloud/sungro/AppService/selectSysTranslationNames/struct.go index edd36df2e..4e8623fbc 100644 --- a/iSolarCloud/sungro/AppService/selectSysTranslationNames/struct.go +++ b/iSolarCloud/sungro/AppService/selectSysTranslationNames/struct.go @@ -1,9 +1,9 @@ package selectSysTranslationNames import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/data.go b/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/data.go index e85d522bd..36cc927c8 100644 --- a/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/data.go +++ b/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/data.go @@ -1,7 +1,7 @@ package sendPsTimeZoneInstruction import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/struct.go b/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/struct.go index 8e47c3479..d77e880ed 100644 --- a/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/struct.go +++ b/iSolarCloud/sungro/AppService/sendPsTimeZoneInstruction/struct.go @@ -1,9 +1,9 @@ package sendPsTimeZoneInstruction import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/data.go b/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/data.go index 8c253c43b..8eaa758e9 100644 --- a/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/data.go +++ b/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/data.go @@ -1,7 +1,7 @@ package setUpFormulaFaultAnalyse import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/struct.go b/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/struct.go index 11c17e156..934c39e7b 100644 --- a/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/struct.go +++ b/iSolarCloud/sungro/AppService/setUpFormulaFaultAnalyse/struct.go @@ -1,9 +1,9 @@ package setUpFormulaFaultAnalyse import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/setUserGDPRAttrs/data.go b/iSolarCloud/sungro/AppService/setUserGDPRAttrs/data.go index e3267f003..d0f1dd67e 100644 --- a/iSolarCloud/sungro/AppService/setUserGDPRAttrs/data.go +++ b/iSolarCloud/sungro/AppService/setUserGDPRAttrs/data.go @@ -1,7 +1,7 @@ package setUserGDPRAttrs import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/setUserGDPRAttrs/struct.go b/iSolarCloud/sungro/AppService/setUserGDPRAttrs/struct.go index e7a27c98f..24c411f7a 100644 --- a/iSolarCloud/sungro/AppService/setUserGDPRAttrs/struct.go +++ b/iSolarCloud/sungro/AppService/setUserGDPRAttrs/struct.go @@ -1,9 +1,9 @@ package setUserGDPRAttrs import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/settingNotice/data.go b/iSolarCloud/sungro/AppService/settingNotice/data.go index c0e72b015..541d2b8fc 100644 --- a/iSolarCloud/sungro/AppService/settingNotice/data.go +++ b/iSolarCloud/sungro/AppService/settingNotice/data.go @@ -1,7 +1,7 @@ package settingNotice import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/settingNotice/struct.go b/iSolarCloud/sungro/AppService/settingNotice/struct.go index 73b2ab4dc..5222c0b3f 100644 --- a/iSolarCloud/sungro/AppService/settingNotice/struct.go +++ b/iSolarCloud/sungro/AppService/settingNotice/struct.go @@ -1,9 +1,9 @@ package settingNotice import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/shareMyPs/data.go b/iSolarCloud/sungro/AppService/shareMyPs/data.go index 53652fb6f..87b953dd0 100644 --- a/iSolarCloud/sungro/AppService/shareMyPs/data.go +++ b/iSolarCloud/sungro/AppService/shareMyPs/data.go @@ -1,7 +1,7 @@ package shareMyPs import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/shareMyPs/struct.go b/iSolarCloud/sungro/AppService/shareMyPs/struct.go index be708aa73..38174f228 100644 --- a/iSolarCloud/sungro/AppService/shareMyPs/struct.go +++ b/iSolarCloud/sungro/AppService/shareMyPs/struct.go @@ -1,9 +1,9 @@ package shareMyPs import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/sharePsBySN/data.go b/iSolarCloud/sungro/AppService/sharePsBySN/data.go index 47d34fa02..391eb01f1 100644 --- a/iSolarCloud/sungro/AppService/sharePsBySN/data.go +++ b/iSolarCloud/sungro/AppService/sharePsBySN/data.go @@ -1,7 +1,7 @@ package sharePsBySN import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sharePsBySN/struct.go b/iSolarCloud/sungro/AppService/sharePsBySN/struct.go index dc4789a38..a372ad22a 100644 --- a/iSolarCloud/sungro/AppService/sharePsBySN/struct.go +++ b/iSolarCloud/sungro/AppService/sharePsBySN/struct.go @@ -1,9 +1,9 @@ package sharePsBySN import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/showInverterByUnit/data.go b/iSolarCloud/sungro/AppService/showInverterByUnit/data.go index 2d6847816..4af82dbd6 100644 --- a/iSolarCloud/sungro/AppService/showInverterByUnit/data.go +++ b/iSolarCloud/sungro/AppService/showInverterByUnit/data.go @@ -1,7 +1,7 @@ package showInverterByUnit import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/showInverterByUnit/struct.go b/iSolarCloud/sungro/AppService/showInverterByUnit/struct.go index b399969af..b068c5cc5 100644 --- a/iSolarCloud/sungro/AppService/showInverterByUnit/struct.go +++ b/iSolarCloud/sungro/AppService/showInverterByUnit/struct.go @@ -1,9 +1,9 @@ package showInverterByUnit import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/showOnlineUsers/data.go b/iSolarCloud/sungro/AppService/showOnlineUsers/data.go index d3c6c9f2b..99ff7a3e9 100644 --- a/iSolarCloud/sungro/AppService/showOnlineUsers/data.go +++ b/iSolarCloud/sungro/AppService/showOnlineUsers/data.go @@ -1,7 +1,7 @@ package showOnlineUsers import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/showOnlineUsers/struct.go b/iSolarCloud/sungro/AppService/showOnlineUsers/struct.go index e4f76799a..5c773b1f8 100644 --- a/iSolarCloud/sungro/AppService/showOnlineUsers/struct.go +++ b/iSolarCloud/sungro/AppService/showOnlineUsers/struct.go @@ -1,9 +1,9 @@ package showOnlineUsers import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/showWarning/data.go b/iSolarCloud/sungro/AppService/showWarning/data.go index 52a38ce4e..dc940d441 100644 --- a/iSolarCloud/sungro/AppService/showWarning/data.go +++ b/iSolarCloud/sungro/AppService/showWarning/data.go @@ -1,7 +1,7 @@ package showWarning import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/showWarning/struct.go b/iSolarCloud/sungro/AppService/showWarning/struct.go index 5f57e8bb0..bcfaef056 100644 --- a/iSolarCloud/sungro/AppService/showWarning/struct.go +++ b/iSolarCloud/sungro/AppService/showWarning/struct.go @@ -1,9 +1,9 @@ package showWarning import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/snIsExist/data.go b/iSolarCloud/sungro/AppService/snIsExist/data.go index 9a7df622e..494ff75e6 100644 --- a/iSolarCloud/sungro/AppService/snIsExist/data.go +++ b/iSolarCloud/sungro/AppService/snIsExist/data.go @@ -1,7 +1,7 @@ package snIsExist import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/snIsExist/struct.go b/iSolarCloud/sungro/AppService/snIsExist/struct.go index 23d4c0a65..835d9c8da 100644 --- a/iSolarCloud/sungro/AppService/snIsExist/struct.go +++ b/iSolarCloud/sungro/AppService/snIsExist/struct.go @@ -1,9 +1,9 @@ package snIsExist import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/snsIsExist/data.go b/iSolarCloud/sungro/AppService/snsIsExist/data.go index 154f497eb..b5c3225a1 100644 --- a/iSolarCloud/sungro/AppService/snsIsExist/data.go +++ b/iSolarCloud/sungro/AppService/snsIsExist/data.go @@ -1,7 +1,7 @@ package snsIsExist import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/snsIsExist/struct.go b/iSolarCloud/sungro/AppService/snsIsExist/struct.go index a343b52f7..a9641ad25 100644 --- a/iSolarCloud/sungro/AppService/snsIsExist/struct.go +++ b/iSolarCloud/sungro/AppService/snsIsExist/struct.go @@ -1,9 +1,9 @@ package snsIsExist import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/speedyAddPowerStation/data.go b/iSolarCloud/sungro/AppService/speedyAddPowerStation/data.go index a0b019caa..7c9c47450 100644 --- a/iSolarCloud/sungro/AppService/speedyAddPowerStation/data.go +++ b/iSolarCloud/sungro/AppService/speedyAddPowerStation/data.go @@ -1,7 +1,7 @@ package speedyAddPowerStation import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/speedyAddPowerStation/struct.go b/iSolarCloud/sungro/AppService/speedyAddPowerStation/struct.go index d9172ecd2..13cbf91d8 100644 --- a/iSolarCloud/sungro/AppService/speedyAddPowerStation/struct.go +++ b/iSolarCloud/sungro/AppService/speedyAddPowerStation/struct.go @@ -1,9 +1,9 @@ package speedyAddPowerStation import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/data.go b/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/data.go index b10ddb9a6..dcb159a8e 100644 --- a/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/data.go +++ b/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/data.go @@ -1,7 +1,7 @@ package stationDeviceHistoryDataList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/struct.go b/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/struct.go index f3ef994a8..65588530f 100644 --- a/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/struct.go +++ b/iSolarCloud/sungro/AppService/stationDeviceHistoryDataList/struct.go @@ -1,9 +1,9 @@ package stationDeviceHistoryDataList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/stationUnitsList/data.go b/iSolarCloud/sungro/AppService/stationUnitsList/data.go index 9f2d3f88c..bc68abada 100644 --- a/iSolarCloud/sungro/AppService/stationUnitsList/data.go +++ b/iSolarCloud/sungro/AppService/stationUnitsList/data.go @@ -1,7 +1,7 @@ package stationUnitsList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/stationUnitsList/struct.go b/iSolarCloud/sungro/AppService/stationUnitsList/struct.go index 9bfaa3c0b..bb8c7d3e9 100644 --- a/iSolarCloud/sungro/AppService/stationUnitsList/struct.go +++ b/iSolarCloud/sungro/AppService/stationUnitsList/struct.go @@ -1,9 +1,9 @@ package stationUnitsList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/stationsDiscreteData/data.go b/iSolarCloud/sungro/AppService/stationsDiscreteData/data.go index 6cf185103..c9c43a870 100644 --- a/iSolarCloud/sungro/AppService/stationsDiscreteData/data.go +++ b/iSolarCloud/sungro/AppService/stationsDiscreteData/data.go @@ -1,7 +1,7 @@ package stationsDiscreteData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/stationsDiscreteData/struct.go b/iSolarCloud/sungro/AppService/stationsDiscreteData/struct.go index 72ec07322..ecdba47b4 100644 --- a/iSolarCloud/sungro/AppService/stationsDiscreteData/struct.go +++ b/iSolarCloud/sungro/AppService/stationsDiscreteData/struct.go @@ -1,9 +1,9 @@ package stationsDiscreteData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/stationsIncomeList/data.go b/iSolarCloud/sungro/AppService/stationsIncomeList/data.go index 0bb23ace4..b32058fca 100644 --- a/iSolarCloud/sungro/AppService/stationsIncomeList/data.go +++ b/iSolarCloud/sungro/AppService/stationsIncomeList/data.go @@ -1,7 +1,7 @@ package stationsIncomeList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/stationsIncomeList/struct.go b/iSolarCloud/sungro/AppService/stationsIncomeList/struct.go index f0a62b31e..91732933a 100644 --- a/iSolarCloud/sungro/AppService/stationsIncomeList/struct.go +++ b/iSolarCloud/sungro/AppService/stationsIncomeList/struct.go @@ -1,9 +1,9 @@ package stationsIncomeList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/stationsPointReport/data.go b/iSolarCloud/sungro/AppService/stationsPointReport/data.go index de5078f4a..5141af47c 100644 --- a/iSolarCloud/sungro/AppService/stationsPointReport/data.go +++ b/iSolarCloud/sungro/AppService/stationsPointReport/data.go @@ -1,7 +1,7 @@ package stationsPointReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/stationsPointReport/struct.go b/iSolarCloud/sungro/AppService/stationsPointReport/struct.go index 351d0b189..fd548d8b9 100644 --- a/iSolarCloud/sungro/AppService/stationsPointReport/struct.go +++ b/iSolarCloud/sungro/AppService/stationsPointReport/struct.go @@ -1,9 +1,9 @@ package stationsPointReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/stationsYearPlanReport/data.go b/iSolarCloud/sungro/AppService/stationsYearPlanReport/data.go index 2653a9c4e..a03299c70 100644 --- a/iSolarCloud/sungro/AppService/stationsYearPlanReport/data.go +++ b/iSolarCloud/sungro/AppService/stationsYearPlanReport/data.go @@ -1,7 +1,7 @@ package stationsYearPlanReport import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/stationsYearPlanReport/struct.go b/iSolarCloud/sungro/AppService/stationsYearPlanReport/struct.go index 15c02c136..6c42dbd7c 100644 --- a/iSolarCloud/sungro/AppService/stationsYearPlanReport/struct.go +++ b/iSolarCloud/sungro/AppService/stationsYearPlanReport/struct.go @@ -1,9 +1,9 @@ package stationsYearPlanReport import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/struct.go b/iSolarCloud/sungro/AppService/struct.go index 0d042d5b6..4e5712f15 100644 --- a/iSolarCloud/sungro/AppService/struct.go +++ b/iSolarCloud/sungro/AppService/struct.go @@ -1,17 +1,18 @@ package AppService import ( - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/sungro/AppService/communicationModuleDetail" - "GoSungro/iSolarCloud/sungro/AppService/findPsType" - "GoSungro/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport" - "GoSungro/iSolarCloud/sungro/AppService/getPowerDevicePointNames" - "GoSungro/iSolarCloud/sungro/AppService/getPowerStatistics" - "GoSungro/iSolarCloud/sungro/AppService/getPsDetailWithPsType" - "GoSungro/iSolarCloud/sungro/AppService/getPsList" - "GoSungro/iSolarCloud/sungro/AppService/login" - "GoSungro/iSolarCloud/sungro/AppService/queryMutiPointDataList" - "GoSungro/iSolarCloud/sungro/AppService/queryUnitList" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/sungro/AppService/communicationModuleDetail" + "GoSungrow/iSolarCloud/sungro/AppService/findPsType" + "GoSungrow/iSolarCloud/sungro/AppService/getHistoryInfo" + "GoSungrow/iSolarCloud/sungro/AppService/getHouseholdStoragePsReport" + "GoSungrow/iSolarCloud/sungro/AppService/getPowerDevicePointNames" + "GoSungrow/iSolarCloud/sungro/AppService/getPowerStatistics" + "GoSungrow/iSolarCloud/sungro/AppService/getPsDetailWithPsType" + "GoSungrow/iSolarCloud/sungro/AppService/getPsList" + "GoSungrow/iSolarCloud/sungro/AppService/login" + "GoSungrow/iSolarCloud/sungro/AppService/queryMutiPointDataList" + "GoSungrow/iSolarCloud/sungro/AppService/queryUnitList" "fmt" ) @@ -39,6 +40,8 @@ func Init(apiRoot *api.Web) Area { api.GetName(queryUnitList.EndPoint{}): queryUnitList.Init(apiRoot), api.GetName(queryMutiPointDataList.EndPoint{}): queryMutiPointDataList.Init(apiRoot), api.GetName(communicationModuleDetail.EndPoint{}): communicationModuleDetail.Init(apiRoot), + api.GetName(getHistoryInfo.EndPoint{}): getHistoryInfo.Init(apiRoot), + // "getHistoryInfo": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/getHistoryInfo"} // "psHourPointsValue": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/psHourPointsValue"} // "getPsCurveInfo": nullEndPoint.Init(apiRoot), // "/v1/devService/getPsCurveInfo"} @@ -49,7 +52,6 @@ func Init(apiRoot *api.Web) Area { // "queryAllPsIdAndName": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/queryAllPsIdAndName"} // "queryDevicePointMinuteDataList": nullEndPoint.Init(apiRoot), // "/v1/commonService/queryDevicePointMinuteDataList"} // "getTemplateByInfoType": nullEndPoint.Init(apiRoot), // "/v1/messageService/getTemplateByInfoType"} - // "": nullEndPoint.Init(apiRoot), // ""} // "energyTrend": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/energyTrend"} // "queryBatchCreatePsTaskList": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/queryBatchCreatePsTaskList"} // "exportPlantReportPDF": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/exportPlantReportPDF"} @@ -287,7 +289,6 @@ func Init(apiRoot *api.Web) Area { // "getGroupStringCheckResult": nullEndPoint.Init(apiRoot), // "/v1/devService/getGroupStringCheckResult"} // "getGroupStringCheckRule": nullEndPoint.Init(apiRoot), // "/v1/devService/getGroupStringCheckRule"} // "getHisData": nullEndPoint.Init(apiRoot), // "/v1/devService/getHisData"} - // "getHistoryInfo": nullEndPoint.Init(apiRoot), // "/v1/powerStationService/getHistoryInfo"} // "getHouseholdEvaluation": nullEndPoint.Init(apiRoot), // "/v1/faultService/getHouseholdEvaluation"} // "getHouseholdLeaveMessage": nullEndPoint.Init(apiRoot), // "/v1/faultService/getHouseholdLeaveMessage"} // "getHouseholdOpinionFeedback": nullEndPoint.Init(apiRoot), // "/v1/faultService/getHouseholdOpinionFeedback"} diff --git a/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/data.go b/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/data.go index b16d44ac1..946eb508b 100644 --- a/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/data.go +++ b/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/data.go @@ -1,7 +1,7 @@ package sureAndImportSelettlementData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/struct.go b/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/struct.go index e6bff110d..809a3965e 100644 --- a/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/struct.go +++ b/iSolarCloud/sungro/AppService/sureAndImportSelettlementData/struct.go @@ -1,9 +1,9 @@ package sureAndImportSelettlementData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/sweepDevParamSet/data.go b/iSolarCloud/sungro/AppService/sweepDevParamSet/data.go index 4e7a57f07..561a3db4b 100644 --- a/iSolarCloud/sungro/AppService/sweepDevParamSet/data.go +++ b/iSolarCloud/sungro/AppService/sweepDevParamSet/data.go @@ -1,7 +1,7 @@ package sweepDevParamSet import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sweepDevParamSet/struct.go b/iSolarCloud/sungro/AppService/sweepDevParamSet/struct.go index 3d7181834..3afa48a6c 100644 --- a/iSolarCloud/sungro/AppService/sweepDevParamSet/struct.go +++ b/iSolarCloud/sungro/AppService/sweepDevParamSet/struct.go @@ -1,9 +1,9 @@ package sweepDevParamSet import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/sweepDevRunControl/data.go b/iSolarCloud/sungro/AppService/sweepDevRunControl/data.go index f72b0eca1..055f6b2cc 100644 --- a/iSolarCloud/sungro/AppService/sweepDevRunControl/data.go +++ b/iSolarCloud/sungro/AppService/sweepDevRunControl/data.go @@ -1,7 +1,7 @@ package sweepDevRunControl import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sweepDevRunControl/struct.go b/iSolarCloud/sungro/AppService/sweepDevRunControl/struct.go index 29e5afdd2..a130185ee 100644 --- a/iSolarCloud/sungro/AppService/sweepDevRunControl/struct.go +++ b/iSolarCloud/sungro/AppService/sweepDevRunControl/struct.go @@ -1,9 +1,9 @@ package sweepDevRunControl import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/data.go b/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/data.go index 946cc0bfa..ba6d8dc8d 100644 --- a/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/data.go +++ b/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/data.go @@ -1,7 +1,7 @@ package sweepDevStrategyIssue import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/struct.go b/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/struct.go index adf7d3115..0536da069 100644 --- a/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/struct.go +++ b/iSolarCloud/sungro/AppService/sweepDevStrategyIssue/struct.go @@ -1,9 +1,9 @@ package sweepDevStrategyIssue import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/sysTimeZoneList/data.go b/iSolarCloud/sungro/AppService/sysTimeZoneList/data.go index fc3d51200..6a85a14c5 100644 --- a/iSolarCloud/sungro/AppService/sysTimeZoneList/data.go +++ b/iSolarCloud/sungro/AppService/sysTimeZoneList/data.go @@ -1,7 +1,7 @@ package sysTimeZoneList import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/sysTimeZoneList/struct.go b/iSolarCloud/sungro/AppService/sysTimeZoneList/struct.go index 163ff0c5f..f4c94e4cc 100644 --- a/iSolarCloud/sungro/AppService/sysTimeZoneList/struct.go +++ b/iSolarCloud/sungro/AppService/sysTimeZoneList/struct.go @@ -1,9 +1,9 @@ package sysTimeZoneList import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/unLockUser/data.go b/iSolarCloud/sungro/AppService/unLockUser/data.go index 5657d0334..5abb0bcab 100644 --- a/iSolarCloud/sungro/AppService/unLockUser/data.go +++ b/iSolarCloud/sungro/AppService/unLockUser/data.go @@ -1,7 +1,7 @@ package unLockUser import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/unLockUser/struct.go b/iSolarCloud/sungro/AppService/unLockUser/struct.go index fb29d5f9d..b9d954348 100644 --- a/iSolarCloud/sungro/AppService/unLockUser/struct.go +++ b/iSolarCloud/sungro/AppService/unLockUser/struct.go @@ -1,9 +1,9 @@ package unLockUser import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/unlockChildAccount/data.go b/iSolarCloud/sungro/AppService/unlockChildAccount/data.go index e334fee99..cae887906 100644 --- a/iSolarCloud/sungro/AppService/unlockChildAccount/data.go +++ b/iSolarCloud/sungro/AppService/unlockChildAccount/data.go @@ -1,7 +1,7 @@ package unlockChildAccount import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/unlockChildAccount/struct.go b/iSolarCloud/sungro/AppService/unlockChildAccount/struct.go index 9c46a9597..7de453bac 100644 --- a/iSolarCloud/sungro/AppService/unlockChildAccount/struct.go +++ b/iSolarCloud/sungro/AppService/unlockChildAccount/struct.go @@ -1,9 +1,9 @@ package unlockChildAccount import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateCommunicationModuleState/data.go b/iSolarCloud/sungro/AppService/updateCommunicationModuleState/data.go index 5fa2d1424..dd0b292fa 100644 --- a/iSolarCloud/sungro/AppService/updateCommunicationModuleState/data.go +++ b/iSolarCloud/sungro/AppService/updateCommunicationModuleState/data.go @@ -1,7 +1,7 @@ package updateCommunicationModuleState import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateCommunicationModuleState/struct.go b/iSolarCloud/sungro/AppService/updateCommunicationModuleState/struct.go index 5f6a9fcab..d89e3a360 100644 --- a/iSolarCloud/sungro/AppService/updateCommunicationModuleState/struct.go +++ b/iSolarCloud/sungro/AppService/updateCommunicationModuleState/struct.go @@ -1,9 +1,9 @@ package updateCommunicationModuleState import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateDevInstalledPower/data.go b/iSolarCloud/sungro/AppService/updateDevInstalledPower/data.go index a804aa35a..8667660cc 100644 --- a/iSolarCloud/sungro/AppService/updateDevInstalledPower/data.go +++ b/iSolarCloud/sungro/AppService/updateDevInstalledPower/data.go @@ -1,7 +1,7 @@ package updateDevInstalledPower import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateDevInstalledPower/struct.go b/iSolarCloud/sungro/AppService/updateDevInstalledPower/struct.go index 88fae3975..711ad5dd3 100644 --- a/iSolarCloud/sungro/AppService/updateDevInstalledPower/struct.go +++ b/iSolarCloud/sungro/AppService/updateDevInstalledPower/struct.go @@ -1,9 +1,9 @@ package updateDevInstalledPower import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateFault/data.go b/iSolarCloud/sungro/AppService/updateFault/data.go index 6e22ed194..db9c80896 100644 --- a/iSolarCloud/sungro/AppService/updateFault/data.go +++ b/iSolarCloud/sungro/AppService/updateFault/data.go @@ -1,7 +1,7 @@ package updateFault import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateFault/struct.go b/iSolarCloud/sungro/AppService/updateFault/struct.go index 07e7bf057..146db0c7c 100644 --- a/iSolarCloud/sungro/AppService/updateFault/struct.go +++ b/iSolarCloud/sungro/AppService/updateFault/struct.go @@ -1,9 +1,9 @@ package updateFault import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateFaultData/data.go b/iSolarCloud/sungro/AppService/updateFaultData/data.go index 82694a95d..ecf5d3277 100644 --- a/iSolarCloud/sungro/AppService/updateFaultData/data.go +++ b/iSolarCloud/sungro/AppService/updateFaultData/data.go @@ -1,7 +1,7 @@ package updateFaultData import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateFaultData/struct.go b/iSolarCloud/sungro/AppService/updateFaultData/struct.go index 9e685355d..b76da718a 100644 --- a/iSolarCloud/sungro/AppService/updateFaultData/struct.go +++ b/iSolarCloud/sungro/AppService/updateFaultData/struct.go @@ -1,9 +1,9 @@ package updateFaultData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/data.go b/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/data.go index 5a5a6ee9a..c4a2fe168 100644 --- a/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/data.go +++ b/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/data.go @@ -1,7 +1,7 @@ package updateFaultMsgByFaultCode import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/struct.go b/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/struct.go index 01f561dca..abebc2da8 100644 --- a/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/struct.go +++ b/iSolarCloud/sungro/AppService/updateFaultMsgByFaultCode/struct.go @@ -1,9 +1,9 @@ package updateFaultMsgByFaultCode import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateFaultStatus/data.go b/iSolarCloud/sungro/AppService/updateFaultStatus/data.go index cc129c8bb..d17dfa862 100644 --- a/iSolarCloud/sungro/AppService/updateFaultStatus/data.go +++ b/iSolarCloud/sungro/AppService/updateFaultStatus/data.go @@ -1,7 +1,7 @@ package updateFaultStatus import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateFaultStatus/struct.go b/iSolarCloud/sungro/AppService/updateFaultStatus/struct.go index f4db2ec2d..ab9b2ac3c 100644 --- a/iSolarCloud/sungro/AppService/updateFaultStatus/struct.go +++ b/iSolarCloud/sungro/AppService/updateFaultStatus/struct.go @@ -1,9 +1,9 @@ package updateFaultStatus import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/data.go b/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/data.go index 5c3125a37..dd5ff4dde 100644 --- a/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/data.go +++ b/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/data.go @@ -1,7 +1,7 @@ package updateHouseholdWorkOrder import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/struct.go b/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/struct.go index abab60086..3ff618d5d 100644 --- a/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/struct.go +++ b/iSolarCloud/sungro/AppService/updateHouseholdWorkOrder/struct.go @@ -1,9 +1,9 @@ package updateHouseholdWorkOrder import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/data.go b/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/data.go index 001f95f4d..00b928af9 100644 --- a/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/data.go +++ b/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/data.go @@ -1,7 +1,7 @@ package updateInverterSn2ModuleSn import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/struct.go b/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/struct.go index a003ac8ff..59666adaa 100644 --- a/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/struct.go +++ b/iSolarCloud/sungro/AppService/updateInverterSn2ModuleSn/struct.go @@ -1,9 +1,9 @@ package updateInverterSn2ModuleSn import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/data.go b/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/data.go index 5958696ac..393d4bcbb 100644 --- a/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/data.go +++ b/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/data.go @@ -1,7 +1,7 @@ package updateOperateTicketAttachmentId import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/struct.go b/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/struct.go index 6272935cf..80bd84936 100644 --- a/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/struct.go +++ b/iSolarCloud/sungro/AppService/updateOperateTicketAttachmentId/struct.go @@ -1,9 +1,9 @@ package updateOperateTicketAttachmentId import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/data.go b/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/data.go index c71be4cf9..6e73b94b3 100644 --- a/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/data.go +++ b/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/data.go @@ -1,7 +1,7 @@ package updateOrderDeviceByCustomerService import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/struct.go b/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/struct.go index f6012245a..c91bb1655 100644 --- a/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/struct.go +++ b/iSolarCloud/sungro/AppService/updateOrderDeviceByCustomerService/struct.go @@ -1,9 +1,9 @@ package updateOrderDeviceByCustomerService import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/data.go b/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/data.go index f5da48952..2c4010990 100644 --- a/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/data.go +++ b/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/data.go @@ -1,7 +1,7 @@ package updateOwnerFaultConfig import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/struct.go b/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/struct.go index 22b935631..e66cabec0 100644 --- a/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/struct.go +++ b/iSolarCloud/sungro/AppService/updateOwnerFaultConfig/struct.go @@ -1,9 +1,9 @@ package updateOwnerFaultConfig import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/data.go b/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/data.go index 2056cd405..7a48e330e 100644 --- a/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/data.go +++ b/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/data.go @@ -1,7 +1,7 @@ package updateParamSettingSysMsg import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/struct.go b/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/struct.go index d50e8c2da..a6041d9fe 100644 --- a/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/struct.go +++ b/iSolarCloud/sungro/AppService/updateParamSettingSysMsg/struct.go @@ -1,9 +1,9 @@ package updateParamSettingSysMsg import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/data.go b/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/data.go index a1ba966b4..7cb56e36f 100644 --- a/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/data.go +++ b/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/data.go @@ -1,7 +1,7 @@ package updatePlatformLevelFaultLevel import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/struct.go b/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/struct.go index 408ea1148..f84ce54d3 100644 --- a/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/struct.go +++ b/iSolarCloud/sungro/AppService/updatePlatformLevelFaultLevel/struct.go @@ -1,9 +1,9 @@ package updatePlatformLevelFaultLevel import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePowerDevicePoint/data.go b/iSolarCloud/sungro/AppService/updatePowerDevicePoint/data.go index 8cd2e8530..a23fa8a96 100644 --- a/iSolarCloud/sungro/AppService/updatePowerDevicePoint/data.go +++ b/iSolarCloud/sungro/AppService/updatePowerDevicePoint/data.go @@ -1,7 +1,7 @@ package updatePowerDevicePoint import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePowerDevicePoint/struct.go b/iSolarCloud/sungro/AppService/updatePowerDevicePoint/struct.go index ac8b2b92e..dc7bf81a5 100644 --- a/iSolarCloud/sungro/AppService/updatePowerDevicePoint/struct.go +++ b/iSolarCloud/sungro/AppService/updatePowerDevicePoint/struct.go @@ -1,9 +1,9 @@ package updatePowerDevicePoint import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePowerRobotInfo/data.go b/iSolarCloud/sungro/AppService/updatePowerRobotInfo/data.go index a92c2d14e..4d1b3054f 100644 --- a/iSolarCloud/sungro/AppService/updatePowerRobotInfo/data.go +++ b/iSolarCloud/sungro/AppService/updatePowerRobotInfo/data.go @@ -1,7 +1,7 @@ package updatePowerRobotInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePowerRobotInfo/struct.go b/iSolarCloud/sungro/AppService/updatePowerRobotInfo/struct.go index ede4b9fe5..2fe960a71 100644 --- a/iSolarCloud/sungro/AppService/updatePowerRobotInfo/struct.go +++ b/iSolarCloud/sungro/AppService/updatePowerRobotInfo/struct.go @@ -1,9 +1,9 @@ package updatePowerRobotInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/data.go b/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/data.go index ef6c81b37..185b5f2eb 100644 --- a/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/data.go +++ b/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/data.go @@ -1,7 +1,7 @@ package updatePowerRobotSweepAttr import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/struct.go b/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/struct.go index b4cdaf15b..e84b49578 100644 --- a/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/struct.go +++ b/iSolarCloud/sungro/AppService/updatePowerRobotSweepAttr/struct.go @@ -1,9 +1,9 @@ package updatePowerRobotSweepAttr import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/data.go b/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/data.go index 22ccf2c1b..a6ec3fe27 100644 --- a/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/data.go +++ b/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/data.go @@ -1,7 +1,7 @@ package updatePowerStationForHousehold import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/struct.go b/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/struct.go index f822c6fe8..4f1db68b6 100644 --- a/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/struct.go +++ b/iSolarCloud/sungro/AppService/updatePowerStationForHousehold/struct.go @@ -1,9 +1,9 @@ package updatePowerStationForHousehold import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePowerStationInfo/data.go b/iSolarCloud/sungro/AppService/updatePowerStationInfo/data.go index 9408e2c94..f2efda282 100644 --- a/iSolarCloud/sungro/AppService/updatePowerStationInfo/data.go +++ b/iSolarCloud/sungro/AppService/updatePowerStationInfo/data.go @@ -1,7 +1,7 @@ package updatePowerStationInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePowerStationInfo/struct.go b/iSolarCloud/sungro/AppService/updatePowerStationInfo/struct.go index 0726ab066..f87d85632 100644 --- a/iSolarCloud/sungro/AppService/updatePowerStationInfo/struct.go +++ b/iSolarCloud/sungro/AppService/updatePowerStationInfo/struct.go @@ -1,9 +1,9 @@ package updatePowerStationInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updatePowerUserInfo/data.go b/iSolarCloud/sungro/AppService/updatePowerUserInfo/data.go index e251dbaa8..b9eb503b6 100644 --- a/iSolarCloud/sungro/AppService/updatePowerUserInfo/data.go +++ b/iSolarCloud/sungro/AppService/updatePowerUserInfo/data.go @@ -1,7 +1,7 @@ package updatePowerUserInfo import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updatePowerUserInfo/struct.go b/iSolarCloud/sungro/AppService/updatePowerUserInfo/struct.go index 9047291e7..1d54fbe1d 100644 --- a/iSolarCloud/sungro/AppService/updatePowerUserInfo/struct.go +++ b/iSolarCloud/sungro/AppService/updatePowerUserInfo/struct.go @@ -1,9 +1,9 @@ package updatePowerUserInfo import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/data.go b/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/data.go index 1f58996a2..dbfcfa2a1 100644 --- a/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/data.go +++ b/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/data.go @@ -1,7 +1,7 @@ package updateReportConfigByEmailAddr import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/struct.go b/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/struct.go index 6cb9a2258..333994f74 100644 --- a/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/struct.go +++ b/iSolarCloud/sungro/AppService/updateReportConfigByEmailAddr/struct.go @@ -1,9 +1,9 @@ package updateReportConfigByEmailAddr import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateShareAttr/data.go b/iSolarCloud/sungro/AppService/updateShareAttr/data.go index 361c8f597..5e5f13d1a 100644 --- a/iSolarCloud/sungro/AppService/updateShareAttr/data.go +++ b/iSolarCloud/sungro/AppService/updateShareAttr/data.go @@ -1,7 +1,7 @@ package updateShareAttr import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateShareAttr/struct.go b/iSolarCloud/sungro/AppService/updateShareAttr/struct.go index 130b99f00..ccb01b89f 100644 --- a/iSolarCloud/sungro/AppService/updateShareAttr/struct.go +++ b/iSolarCloud/sungro/AppService/updateShareAttr/struct.go @@ -1,9 +1,9 @@ package updateShareAttr import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateSnIsSureFlag/data.go b/iSolarCloud/sungro/AppService/updateSnIsSureFlag/data.go index 20651d598..a19be573b 100644 --- a/iSolarCloud/sungro/AppService/updateSnIsSureFlag/data.go +++ b/iSolarCloud/sungro/AppService/updateSnIsSureFlag/data.go @@ -1,7 +1,7 @@ package updateSnIsSureFlag import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateSnIsSureFlag/struct.go b/iSolarCloud/sungro/AppService/updateSnIsSureFlag/struct.go index af44e80c8..3a64bf45b 100644 --- a/iSolarCloud/sungro/AppService/updateSnIsSureFlag/struct.go +++ b/iSolarCloud/sungro/AppService/updateSnIsSureFlag/struct.go @@ -1,9 +1,9 @@ package updateSnIsSureFlag import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateStationPics/data.go b/iSolarCloud/sungro/AppService/updateStationPics/data.go index 132be8d46..ed056b1f2 100644 --- a/iSolarCloud/sungro/AppService/updateStationPics/data.go +++ b/iSolarCloud/sungro/AppService/updateStationPics/data.go @@ -1,7 +1,7 @@ package updateStationPics import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateStationPics/struct.go b/iSolarCloud/sungro/AppService/updateStationPics/struct.go index 1e0b6f203..52a7eea9f 100644 --- a/iSolarCloud/sungro/AppService/updateStationPics/struct.go +++ b/iSolarCloud/sungro/AppService/updateStationPics/struct.go @@ -1,9 +1,9 @@ package updateStationPics import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateSysAdvancedParam/data.go b/iSolarCloud/sungro/AppService/updateSysAdvancedParam/data.go index abb7ce434..4b8cc57e6 100644 --- a/iSolarCloud/sungro/AppService/updateSysAdvancedParam/data.go +++ b/iSolarCloud/sungro/AppService/updateSysAdvancedParam/data.go @@ -1,7 +1,7 @@ package updateSysAdvancedParam import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateSysAdvancedParam/struct.go b/iSolarCloud/sungro/AppService/updateSysAdvancedParam/struct.go index 5f8acfa36..d37140bf9 100644 --- a/iSolarCloud/sungro/AppService/updateSysAdvancedParam/struct.go +++ b/iSolarCloud/sungro/AppService/updateSysAdvancedParam/struct.go @@ -1,9 +1,9 @@ package updateSysAdvancedParam import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateSysOrgNew/data.go b/iSolarCloud/sungro/AppService/updateSysOrgNew/data.go index 3ca1623b3..ebad9af1c 100644 --- a/iSolarCloud/sungro/AppService/updateSysOrgNew/data.go +++ b/iSolarCloud/sungro/AppService/updateSysOrgNew/data.go @@ -1,7 +1,7 @@ package updateSysOrgNew import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateSysOrgNew/struct.go b/iSolarCloud/sungro/AppService/updateSysOrgNew/struct.go index 1a18c9750..889590a8d 100644 --- a/iSolarCloud/sungro/AppService/updateSysOrgNew/struct.go +++ b/iSolarCloud/sungro/AppService/updateSysOrgNew/struct.go @@ -1,9 +1,9 @@ package updateSysOrgNew import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateTemplate/data.go b/iSolarCloud/sungro/AppService/updateTemplate/data.go index c7f82e921..c657a593d 100644 --- a/iSolarCloud/sungro/AppService/updateTemplate/data.go +++ b/iSolarCloud/sungro/AppService/updateTemplate/data.go @@ -1,7 +1,7 @@ package updateTemplate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateTemplate/struct.go b/iSolarCloud/sungro/AppService/updateTemplate/struct.go index 11d51bc04..a6c5e5a9c 100644 --- a/iSolarCloud/sungro/AppService/updateTemplate/struct.go +++ b/iSolarCloud/sungro/AppService/updateTemplate/struct.go @@ -1,9 +1,9 @@ package updateTemplate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/data.go b/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/data.go index 0c051bd3c..129d6b8e0 100644 --- a/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/data.go +++ b/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/data.go @@ -1,7 +1,7 @@ package updateUinfoNetEaseUser import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/struct.go b/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/struct.go index 695e84846..801cd3343 100644 --- a/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/struct.go +++ b/iSolarCloud/sungro/AppService/updateUinfoNetEaseUser/struct.go @@ -1,9 +1,9 @@ package updateUinfoNetEaseUser import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/data.go b/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/data.go index 306cfd403..47c35b2b3 100644 --- a/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/data.go +++ b/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/data.go @@ -1,7 +1,7 @@ package updateUserExtensionAttribute import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/struct.go b/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/struct.go index bda8e808a..eca23f8cc 100644 --- a/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/struct.go +++ b/iSolarCloud/sungro/AppService/updateUserExtensionAttribute/struct.go @@ -1,9 +1,9 @@ package updateUserExtensionAttribute import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateUserLanguage/data.go b/iSolarCloud/sungro/AppService/updateUserLanguage/data.go index ba4cd7d31..9ef7dd0a2 100644 --- a/iSolarCloud/sungro/AppService/updateUserLanguage/data.go +++ b/iSolarCloud/sungro/AppService/updateUserLanguage/data.go @@ -1,7 +1,7 @@ package updateUserLanguage import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateUserLanguage/struct.go b/iSolarCloud/sungro/AppService/updateUserLanguage/struct.go index 93c290057..5b231da48 100644 --- a/iSolarCloud/sungro/AppService/updateUserLanguage/struct.go +++ b/iSolarCloud/sungro/AppService/updateUserLanguage/struct.go @@ -1,9 +1,9 @@ package updateUserLanguage import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateUserPosition/data.go b/iSolarCloud/sungro/AppService/updateUserPosition/data.go index 4bdeb2e30..d0a82a686 100644 --- a/iSolarCloud/sungro/AppService/updateUserPosition/data.go +++ b/iSolarCloud/sungro/AppService/updateUserPosition/data.go @@ -1,7 +1,7 @@ package updateUserPosition import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateUserPosition/struct.go b/iSolarCloud/sungro/AppService/updateUserPosition/struct.go index 745a6806f..2644f13d2 100644 --- a/iSolarCloud/sungro/AppService/updateUserPosition/struct.go +++ b/iSolarCloud/sungro/AppService/updateUserPosition/struct.go @@ -1,9 +1,9 @@ package updateUserPosition import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/updateUserUpOrg/data.go b/iSolarCloud/sungro/AppService/updateUserUpOrg/data.go index 0f696c27d..0398d7938 100644 --- a/iSolarCloud/sungro/AppService/updateUserUpOrg/data.go +++ b/iSolarCloud/sungro/AppService/updateUserUpOrg/data.go @@ -1,7 +1,7 @@ package updateUserUpOrg import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/updateUserUpOrg/struct.go b/iSolarCloud/sungro/AppService/updateUserUpOrg/struct.go index 9f09f4b5f..7bec8b1a2 100644 --- a/iSolarCloud/sungro/AppService/updateUserUpOrg/struct.go +++ b/iSolarCloud/sungro/AppService/updateUserUpOrg/struct.go @@ -1,9 +1,9 @@ package updateUserUpOrg import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/upgrade/data.go b/iSolarCloud/sungro/AppService/upgrade/data.go index 56447399f..b9f3bab54 100644 --- a/iSolarCloud/sungro/AppService/upgrade/data.go +++ b/iSolarCloud/sungro/AppService/upgrade/data.go @@ -1,7 +1,7 @@ package upgrade import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/upgrade/struct.go b/iSolarCloud/sungro/AppService/upgrade/struct.go index 60afc7ccd..200430917 100644 --- a/iSolarCloud/sungro/AppService/upgrade/struct.go +++ b/iSolarCloud/sungro/AppService/upgrade/struct.go @@ -1,9 +1,9 @@ package upgrade import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/upgrate/data.go b/iSolarCloud/sungro/AppService/upgrate/data.go index 68d4c4e00..55837467e 100644 --- a/iSolarCloud/sungro/AppService/upgrate/data.go +++ b/iSolarCloud/sungro/AppService/upgrate/data.go @@ -1,7 +1,7 @@ package upgrate import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/upgrate/struct.go b/iSolarCloud/sungro/AppService/upgrate/struct.go index 2a243901d..311eb704a 100644 --- a/iSolarCloud/sungro/AppService/upgrate/struct.go +++ b/iSolarCloud/sungro/AppService/upgrate/struct.go @@ -1,9 +1,9 @@ package upgrate import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/uploadFileToOss/data.go b/iSolarCloud/sungro/AppService/uploadFileToOss/data.go index 8411ddb95..21b970a46 100644 --- a/iSolarCloud/sungro/AppService/uploadFileToOss/data.go +++ b/iSolarCloud/sungro/AppService/uploadFileToOss/data.go @@ -1,7 +1,7 @@ package uploadFileToOss import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/uploadFileToOss/struct.go b/iSolarCloud/sungro/AppService/uploadFileToOss/struct.go index a7f6270b0..0762efa30 100644 --- a/iSolarCloud/sungro/AppService/uploadFileToOss/struct.go +++ b/iSolarCloud/sungro/AppService/uploadFileToOss/struct.go @@ -1,9 +1,9 @@ package uploadFileToOss import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/data.go b/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/data.go index d2ed76ea0..7369c833e 100644 --- a/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/data.go +++ b/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/data.go @@ -1,7 +1,7 @@ package userAgreeGdprProtocol import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/struct.go b/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/struct.go index 18c65bc53..4a32362ac 100644 --- a/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/struct.go +++ b/iSolarCloud/sungro/AppService/userAgreeGdprProtocol/struct.go @@ -1,9 +1,9 @@ package userAgreeGdprProtocol import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/userInfoUniqueCheck/data.go b/iSolarCloud/sungro/AppService/userInfoUniqueCheck/data.go index d54b6e01b..7328b841f 100644 --- a/iSolarCloud/sungro/AppService/userInfoUniqueCheck/data.go +++ b/iSolarCloud/sungro/AppService/userInfoUniqueCheck/data.go @@ -1,7 +1,7 @@ package userInfoUniqueCheck import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/userInfoUniqueCheck/struct.go b/iSolarCloud/sungro/AppService/userInfoUniqueCheck/struct.go index 01fa48be6..f94fe247c 100644 --- a/iSolarCloud/sungro/AppService/userInfoUniqueCheck/struct.go +++ b/iSolarCloud/sungro/AppService/userInfoUniqueCheck/struct.go @@ -1,9 +1,9 @@ package userInfoUniqueCheck import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/userMailHasBound/data.go b/iSolarCloud/sungro/AppService/userMailHasBound/data.go index 8a967f1b5..74f9ccec7 100644 --- a/iSolarCloud/sungro/AppService/userMailHasBound/data.go +++ b/iSolarCloud/sungro/AppService/userMailHasBound/data.go @@ -1,7 +1,7 @@ package userMailHasBound import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/userMailHasBound/struct.go b/iSolarCloud/sungro/AppService/userMailHasBound/struct.go index 046a49e1b..f3918bbf5 100644 --- a/iSolarCloud/sungro/AppService/userMailHasBound/struct.go +++ b/iSolarCloud/sungro/AppService/userMailHasBound/struct.go @@ -1,9 +1,9 @@ package userMailHasBound import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/AppService/userRegister/data.go b/iSolarCloud/sungro/AppService/userRegister/data.go index b16e399fc..9aa802154 100644 --- a/iSolarCloud/sungro/AppService/userRegister/data.go +++ b/iSolarCloud/sungro/AppService/userRegister/data.go @@ -1,7 +1,7 @@ package userRegister import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/AppService/userRegister/struct.go b/iSolarCloud/sungro/AppService/userRegister/struct.go index fe3f0527a..779282bb6 100644 --- a/iSolarCloud/sungro/AppService/userRegister/struct.go +++ b/iSolarCloud/sungro/AppService/userRegister/struct.go @@ -1,9 +1,9 @@ package userRegister import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/MttvScreenService/init.go b/iSolarCloud/sungro/MttvScreenService/init.go index dab6ea1b3..60d057d2e 100644 --- a/iSolarCloud/sungro/MttvScreenService/init.go +++ b/iSolarCloud/sungro/MttvScreenService/init.go @@ -2,7 +2,7 @@ package MttvScreenService import ( - "GoSungro/iSolarCloud/api" + "GoSungrow/iSolarCloud/api" "fmt" ) diff --git a/iSolarCloud/sungro/MttvScreenService/nullEndPoint/data.go b/iSolarCloud/sungro/MttvScreenService/nullEndPoint/data.go deleted file mode 100644 index 7ed519d43..000000000 --- a/iSolarCloud/sungro/MttvScreenService/nullEndPoint/data.go +++ /dev/null @@ -1,27 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/iSolarCloud/api/apiReflect" - "fmt" -) - - -const Url = "" - - -type RequestData struct { - // DeviceType string `json:"device_type" required:"true"` -} - -func (rd RequestData) IsValid() error { - return apiReflect.VerifyOptionsRequired(rd) -} - -func (rd RequestData) Help() string { - ret := fmt.Sprintf("") - return ret -} - - -type ResultData struct { -} diff --git a/iSolarCloud/sungro/MttvScreenService/nullEndPoint/struct.go b/iSolarCloud/sungro/MttvScreenService/nullEndPoint/struct.go deleted file mode 100644 index 869bd0efb..000000000 --- a/iSolarCloud/sungro/MttvScreenService/nullEndPoint/struct.go +++ /dev/null @@ -1,221 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" - "encoding/json" - "errors" - "fmt" -) - - -var _ api.EndPoint = (*EndPoint)(nil) - -type EndPoint struct { - api.EndPointStruct - Request Request - Response Response -} - -type Request struct { - api.RequestCommon - RequestData -} - -type Response struct { - api.ResponseCommon - ResultData ResultData `json:"result_data"` -} - -func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { - ApiRoot: apiRoot, - Area: api.GetArea(EndPoint{}), - Name: api.GetName(EndPoint{}), - Url: api.SetUrl(Url), - Request: Request{}, - Response: Response{}, - Error: nil, - }, - } -} - - -// **************************************** -// Methods not scoped by api.EndPoint interface type - -func (e EndPoint) Init(apiRoot *api.Web) *EndPoint { - ret := Init(apiRoot) - return &ret -} - -func (e EndPoint) GetRequest() Request { - return e.Request -} - -func (e EndPoint) GetResponse() Response { - return e.Response -} - -func Assert(e api.EndPoint) EndPoint { - return e.(EndPoint) -} - - -// **************************************** -// Methods defined by api.EndPoint interface type - -func (e EndPoint) Help() string { - ret := apiReflect.HelpOptions(e.Request.RequestData) - ret += fmt.Sprintf("JSON request:\t%s\n", e.GetRequestJson()) - ret += e.Request.Help() - return ret -} - -func (e EndPoint) GetArea() api.AreaName { - return e.Area -} - -func (e EndPoint) GetName() api.EndPointName { - return e.Name -} - -func (e EndPoint) GetUrl() api.EndPointUrl { - return e.Url -} - -func (e EndPoint) Call() api.EndPoint { - return e.ApiRoot.Get(e) -} - -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) -} - -func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { - e.EndPointStruct.Error = errors.New(fmt.Sprintf(format, a...)) - return e -} - -func (e EndPoint) GetError() error { - return e.EndPointStruct.Error -} - -func (e EndPoint) IsError() bool { - if e.Error != nil { - return true - } - return false -} - -func (e EndPoint) SetRequest(ref interface{}) api.EndPoint { - for range Only.Once { - if apiReflect.GetPkgType(ref) == "api.RequestCommon" { - e.Request.RequestCommon = ref.(api.RequestCommon) - break - } - - if apiReflect.GetType(ref) == "RequestData" { - e.Request.RequestData = ref.(RequestData) - e.Error = e.IsRequestValid() - break - } - - e.Error = apiReflect.DoPkgTypesMatch(e.Request, ref) - if e.Error != nil { - break - } - - e.Request = ref.(Request) - } - return e -} - -func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { - for range Only.Once { - e.Error = json.Unmarshal([]byte(j), &e.Request.RequestData) - if e.Error != nil { - break - } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } - } - return e -} - -func (e EndPoint) RequestRef() interface{} { - return e.Request -} - -func (e EndPoint) GetRequestJson() api.Json { - return api.GetAsJson(e.Request.RequestData) -} - -func (e EndPoint) IsRequestValid() error { - for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() - if e.Error != nil { - break - } - e.Error = req.RequestData.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) SetResponse(ref []byte) api.EndPoint { - for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) - e.Error = json.Unmarshal(ref, &e.Response) - if e.Error != nil { - break - } - // e.ResponseCommon = r - } - return e -} - -func (e EndPoint) GetResponseJson() api.Json { - return api.GetAsPrettyJson(e.Response) -} - -func (e EndPoint) ResponseRef() interface{} { - return e.Response -} - -func (e EndPoint) IsResponseValid() error { - for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() - e.Error = e.Response.ResponseCommon.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) String() string { - return api.GetEndPointString(e) -} - -func (e EndPoint) RequestString() string { - return api.GetRequestString(e.Request) -} - -func (e EndPoint) ResponseString() string { - return api.GetRequestString(e.Response) -} - -func (e EndPoint) MarshalJSON() ([]byte, error) { - return api.MarshalJSON(e) -} diff --git a/iSolarCloud/sungro/PowerPointService/init.go b/iSolarCloud/sungro/PowerPointService/init.go index 6d966636d..ada94d931 100644 --- a/iSolarCloud/sungro/PowerPointService/init.go +++ b/iSolarCloud/sungro/PowerPointService/init.go @@ -2,7 +2,7 @@ package PowerPointService import ( - "GoSungro/iSolarCloud/api" + "GoSungrow/iSolarCloud/api" "fmt" ) diff --git a/iSolarCloud/sungro/PowerPointService/nullEndPoint/data.go b/iSolarCloud/sungro/PowerPointService/nullEndPoint/data.go deleted file mode 100644 index 7ed519d43..000000000 --- a/iSolarCloud/sungro/PowerPointService/nullEndPoint/data.go +++ /dev/null @@ -1,27 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/iSolarCloud/api/apiReflect" - "fmt" -) - - -const Url = "" - - -type RequestData struct { - // DeviceType string `json:"device_type" required:"true"` -} - -func (rd RequestData) IsValid() error { - return apiReflect.VerifyOptionsRequired(rd) -} - -func (rd RequestData) Help() string { - ret := fmt.Sprintf("") - return ret -} - - -type ResultData struct { -} diff --git a/iSolarCloud/sungro/PowerPointService/nullEndPoint/struct.go b/iSolarCloud/sungro/PowerPointService/nullEndPoint/struct.go deleted file mode 100644 index 869bd0efb..000000000 --- a/iSolarCloud/sungro/PowerPointService/nullEndPoint/struct.go +++ /dev/null @@ -1,221 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" - "encoding/json" - "errors" - "fmt" -) - - -var _ api.EndPoint = (*EndPoint)(nil) - -type EndPoint struct { - api.EndPointStruct - Request Request - Response Response -} - -type Request struct { - api.RequestCommon - RequestData -} - -type Response struct { - api.ResponseCommon - ResultData ResultData `json:"result_data"` -} - -func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { - ApiRoot: apiRoot, - Area: api.GetArea(EndPoint{}), - Name: api.GetName(EndPoint{}), - Url: api.SetUrl(Url), - Request: Request{}, - Response: Response{}, - Error: nil, - }, - } -} - - -// **************************************** -// Methods not scoped by api.EndPoint interface type - -func (e EndPoint) Init(apiRoot *api.Web) *EndPoint { - ret := Init(apiRoot) - return &ret -} - -func (e EndPoint) GetRequest() Request { - return e.Request -} - -func (e EndPoint) GetResponse() Response { - return e.Response -} - -func Assert(e api.EndPoint) EndPoint { - return e.(EndPoint) -} - - -// **************************************** -// Methods defined by api.EndPoint interface type - -func (e EndPoint) Help() string { - ret := apiReflect.HelpOptions(e.Request.RequestData) - ret += fmt.Sprintf("JSON request:\t%s\n", e.GetRequestJson()) - ret += e.Request.Help() - return ret -} - -func (e EndPoint) GetArea() api.AreaName { - return e.Area -} - -func (e EndPoint) GetName() api.EndPointName { - return e.Name -} - -func (e EndPoint) GetUrl() api.EndPointUrl { - return e.Url -} - -func (e EndPoint) Call() api.EndPoint { - return e.ApiRoot.Get(e) -} - -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) -} - -func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { - e.EndPointStruct.Error = errors.New(fmt.Sprintf(format, a...)) - return e -} - -func (e EndPoint) GetError() error { - return e.EndPointStruct.Error -} - -func (e EndPoint) IsError() bool { - if e.Error != nil { - return true - } - return false -} - -func (e EndPoint) SetRequest(ref interface{}) api.EndPoint { - for range Only.Once { - if apiReflect.GetPkgType(ref) == "api.RequestCommon" { - e.Request.RequestCommon = ref.(api.RequestCommon) - break - } - - if apiReflect.GetType(ref) == "RequestData" { - e.Request.RequestData = ref.(RequestData) - e.Error = e.IsRequestValid() - break - } - - e.Error = apiReflect.DoPkgTypesMatch(e.Request, ref) - if e.Error != nil { - break - } - - e.Request = ref.(Request) - } - return e -} - -func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { - for range Only.Once { - e.Error = json.Unmarshal([]byte(j), &e.Request.RequestData) - if e.Error != nil { - break - } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } - } - return e -} - -func (e EndPoint) RequestRef() interface{} { - return e.Request -} - -func (e EndPoint) GetRequestJson() api.Json { - return api.GetAsJson(e.Request.RequestData) -} - -func (e EndPoint) IsRequestValid() error { - for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() - if e.Error != nil { - break - } - e.Error = req.RequestData.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) SetResponse(ref []byte) api.EndPoint { - for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) - e.Error = json.Unmarshal(ref, &e.Response) - if e.Error != nil { - break - } - // e.ResponseCommon = r - } - return e -} - -func (e EndPoint) GetResponseJson() api.Json { - return api.GetAsPrettyJson(e.Response) -} - -func (e EndPoint) ResponseRef() interface{} { - return e.Response -} - -func (e EndPoint) IsResponseValid() error { - for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() - e.Error = e.Response.ResponseCommon.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) String() string { - return api.GetEndPointString(e) -} - -func (e EndPoint) RequestString() string { - return api.GetRequestString(e.Request) -} - -func (e EndPoint) ResponseString() string { - return api.GetRequestString(e.Response) -} - -func (e EndPoint) MarshalJSON() ([]byte, error) { - return api.MarshalJSON(e) -} diff --git a/iSolarCloud/sungro/WebAppService/nullEndPoint/data.go b/iSolarCloud/sungro/WebAppService/nullEndPoint/data.go deleted file mode 100644 index 7ed519d43..000000000 --- a/iSolarCloud/sungro/WebAppService/nullEndPoint/data.go +++ /dev/null @@ -1,27 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/iSolarCloud/api/apiReflect" - "fmt" -) - - -const Url = "" - - -type RequestData struct { - // DeviceType string `json:"device_type" required:"true"` -} - -func (rd RequestData) IsValid() error { - return apiReflect.VerifyOptionsRequired(rd) -} - -func (rd RequestData) Help() string { - ret := fmt.Sprintf("") - return ret -} - - -type ResultData struct { -} diff --git a/iSolarCloud/sungro/WebAppService/nullEndPoint/struct.go b/iSolarCloud/sungro/WebAppService/nullEndPoint/struct.go deleted file mode 100644 index 869bd0efb..000000000 --- a/iSolarCloud/sungro/WebAppService/nullEndPoint/struct.go +++ /dev/null @@ -1,221 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" - "encoding/json" - "errors" - "fmt" -) - - -var _ api.EndPoint = (*EndPoint)(nil) - -type EndPoint struct { - api.EndPointStruct - Request Request - Response Response -} - -type Request struct { - api.RequestCommon - RequestData -} - -type Response struct { - api.ResponseCommon - ResultData ResultData `json:"result_data"` -} - -func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { - ApiRoot: apiRoot, - Area: api.GetArea(EndPoint{}), - Name: api.GetName(EndPoint{}), - Url: api.SetUrl(Url), - Request: Request{}, - Response: Response{}, - Error: nil, - }, - } -} - - -// **************************************** -// Methods not scoped by api.EndPoint interface type - -func (e EndPoint) Init(apiRoot *api.Web) *EndPoint { - ret := Init(apiRoot) - return &ret -} - -func (e EndPoint) GetRequest() Request { - return e.Request -} - -func (e EndPoint) GetResponse() Response { - return e.Response -} - -func Assert(e api.EndPoint) EndPoint { - return e.(EndPoint) -} - - -// **************************************** -// Methods defined by api.EndPoint interface type - -func (e EndPoint) Help() string { - ret := apiReflect.HelpOptions(e.Request.RequestData) - ret += fmt.Sprintf("JSON request:\t%s\n", e.GetRequestJson()) - ret += e.Request.Help() - return ret -} - -func (e EndPoint) GetArea() api.AreaName { - return e.Area -} - -func (e EndPoint) GetName() api.EndPointName { - return e.Name -} - -func (e EndPoint) GetUrl() api.EndPointUrl { - return e.Url -} - -func (e EndPoint) Call() api.EndPoint { - return e.ApiRoot.Get(e) -} - -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) -} - -func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { - e.EndPointStruct.Error = errors.New(fmt.Sprintf(format, a...)) - return e -} - -func (e EndPoint) GetError() error { - return e.EndPointStruct.Error -} - -func (e EndPoint) IsError() bool { - if e.Error != nil { - return true - } - return false -} - -func (e EndPoint) SetRequest(ref interface{}) api.EndPoint { - for range Only.Once { - if apiReflect.GetPkgType(ref) == "api.RequestCommon" { - e.Request.RequestCommon = ref.(api.RequestCommon) - break - } - - if apiReflect.GetType(ref) == "RequestData" { - e.Request.RequestData = ref.(RequestData) - e.Error = e.IsRequestValid() - break - } - - e.Error = apiReflect.DoPkgTypesMatch(e.Request, ref) - if e.Error != nil { - break - } - - e.Request = ref.(Request) - } - return e -} - -func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { - for range Only.Once { - e.Error = json.Unmarshal([]byte(j), &e.Request.RequestData) - if e.Error != nil { - break - } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } - } - return e -} - -func (e EndPoint) RequestRef() interface{} { - return e.Request -} - -func (e EndPoint) GetRequestJson() api.Json { - return api.GetAsJson(e.Request.RequestData) -} - -func (e EndPoint) IsRequestValid() error { - for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() - if e.Error != nil { - break - } - e.Error = req.RequestData.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) SetResponse(ref []byte) api.EndPoint { - for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) - e.Error = json.Unmarshal(ref, &e.Response) - if e.Error != nil { - break - } - // e.ResponseCommon = r - } - return e -} - -func (e EndPoint) GetResponseJson() api.Json { - return api.GetAsPrettyJson(e.Response) -} - -func (e EndPoint) ResponseRef() interface{} { - return e.Response -} - -func (e EndPoint) IsResponseValid() error { - for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() - e.Error = e.Response.ResponseCommon.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) String() string { - return api.GetEndPointString(e) -} - -func (e EndPoint) RequestString() string { - return api.GetRequestString(e.Request) -} - -func (e EndPoint) ResponseString() string { - return api.GetRequestString(e.Response) -} - -func (e EndPoint) MarshalJSON() ([]byte, error) { - return api.MarshalJSON(e) -} diff --git a/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/data.go b/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/data.go index 6e37a227f..0e205e841 100644 --- a/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/data.go +++ b/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/data.go @@ -1,8 +1,8 @@ package queryUserCurveTemplateData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "fmt" ) diff --git a/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/struct.go b/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/struct.go index be81062af..168c34c46 100644 --- a/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/struct.go +++ b/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData/struct.go @@ -1,9 +1,9 @@ package queryUserCurveTemplateData import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/WebAppService/showPSView/data.go b/iSolarCloud/sungro/WebAppService/showPSView/data.go index f20964b2a..1e436e5f4 100644 --- a/iSolarCloud/sungro/WebAppService/showPSView/data.go +++ b/iSolarCloud/sungro/WebAppService/showPSView/data.go @@ -1,7 +1,7 @@ package showPSView import ( - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/iSolarCloud/api/apiReflect" "fmt" ) diff --git a/iSolarCloud/sungro/WebAppService/showPSView/struct.go b/iSolarCloud/sungro/WebAppService/showPSView/struct.go index 3c2f992f9..06230208e 100644 --- a/iSolarCloud/sungro/WebAppService/showPSView/struct.go +++ b/iSolarCloud/sungro/WebAppService/showPSView/struct.go @@ -1,9 +1,9 @@ package showPSView import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/api/apiReflect" "encoding/json" "errors" "fmt" diff --git a/iSolarCloud/sungro/WebAppService/struct.go b/iSolarCloud/sungro/WebAppService/struct.go index 76c8b99e8..ff3312665 100644 --- a/iSolarCloud/sungro/WebAppService/struct.go +++ b/iSolarCloud/sungro/WebAppService/struct.go @@ -2,9 +2,9 @@ package WebAppService import ( - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData" - "GoSungro/iSolarCloud/sungro/WebAppService/showPSView" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/sungro/WebAppService/queryUserCurveTemplateData" + "GoSungrow/iSolarCloud/sungro/WebAppService/showPSView" "fmt" ) diff --git a/iSolarCloud/sungro/WebIscmAppService/init.go b/iSolarCloud/sungro/WebIscmAppService/init.go index 66f8542e7..aada9aa6f 100644 --- a/iSolarCloud/sungro/WebIscmAppService/init.go +++ b/iSolarCloud/sungro/WebIscmAppService/init.go @@ -2,7 +2,7 @@ package WebIscmAppService import ( - "GoSungro/iSolarCloud/api" + "GoSungrow/iSolarCloud/api" "fmt" ) diff --git a/iSolarCloud/sungro/WebIscmAppService/nullEndPoint/data.go b/iSolarCloud/sungro/WebIscmAppService/nullEndPoint/data.go deleted file mode 100644 index 7ed519d43..000000000 --- a/iSolarCloud/sungro/WebIscmAppService/nullEndPoint/data.go +++ /dev/null @@ -1,27 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/iSolarCloud/api/apiReflect" - "fmt" -) - - -const Url = "" - - -type RequestData struct { - // DeviceType string `json:"device_type" required:"true"` -} - -func (rd RequestData) IsValid() error { - return apiReflect.VerifyOptionsRequired(rd) -} - -func (rd RequestData) Help() string { - ret := fmt.Sprintf("") - return ret -} - - -type ResultData struct { -} diff --git a/iSolarCloud/sungro/WebIscmAppService/nullEndPoint/struct.go b/iSolarCloud/sungro/WebIscmAppService/nullEndPoint/struct.go deleted file mode 100644 index 869bd0efb..000000000 --- a/iSolarCloud/sungro/WebIscmAppService/nullEndPoint/struct.go +++ /dev/null @@ -1,221 +0,0 @@ -package nullEndPoint - -import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/api/apiReflect" - "encoding/json" - "errors" - "fmt" -) - - -var _ api.EndPoint = (*EndPoint)(nil) - -type EndPoint struct { - api.EndPointStruct - Request Request - Response Response -} - -type Request struct { - api.RequestCommon - RequestData -} - -type Response struct { - api.ResponseCommon - ResultData ResultData `json:"result_data"` -} - -func Init(apiRoot *api.Web) EndPoint { - return EndPoint { - EndPointStruct: api.EndPointStruct { - ApiRoot: apiRoot, - Area: api.GetArea(EndPoint{}), - Name: api.GetName(EndPoint{}), - Url: api.SetUrl(Url), - Request: Request{}, - Response: Response{}, - Error: nil, - }, - } -} - - -// **************************************** -// Methods not scoped by api.EndPoint interface type - -func (e EndPoint) Init(apiRoot *api.Web) *EndPoint { - ret := Init(apiRoot) - return &ret -} - -func (e EndPoint) GetRequest() Request { - return e.Request -} - -func (e EndPoint) GetResponse() Response { - return e.Response -} - -func Assert(e api.EndPoint) EndPoint { - return e.(EndPoint) -} - - -// **************************************** -// Methods defined by api.EndPoint interface type - -func (e EndPoint) Help() string { - ret := apiReflect.HelpOptions(e.Request.RequestData) - ret += fmt.Sprintf("JSON request:\t%s\n", e.GetRequestJson()) - ret += e.Request.Help() - return ret -} - -func (e EndPoint) GetArea() api.AreaName { - return e.Area -} - -func (e EndPoint) GetName() api.EndPointName { - return e.Name -} - -func (e EndPoint) GetUrl() api.EndPointUrl { - return e.Url -} - -func (e EndPoint) Call() api.EndPoint { - return e.ApiRoot.Get(e) -} - -func (e EndPoint) GetData() api.Json { - return api.GetAsPrettyJson(e.Response.ResultData) -} - -func (e EndPoint) SetError(format string, a ...interface{}) api.EndPoint { - e.EndPointStruct.Error = errors.New(fmt.Sprintf(format, a...)) - return e -} - -func (e EndPoint) GetError() error { - return e.EndPointStruct.Error -} - -func (e EndPoint) IsError() bool { - if e.Error != nil { - return true - } - return false -} - -func (e EndPoint) SetRequest(ref interface{}) api.EndPoint { - for range Only.Once { - if apiReflect.GetPkgType(ref) == "api.RequestCommon" { - e.Request.RequestCommon = ref.(api.RequestCommon) - break - } - - if apiReflect.GetType(ref) == "RequestData" { - e.Request.RequestData = ref.(RequestData) - e.Error = e.IsRequestValid() - break - } - - e.Error = apiReflect.DoPkgTypesMatch(e.Request, ref) - if e.Error != nil { - break - } - - e.Request = ref.(Request) - } - return e -} - -func (e EndPoint) SetRequestByJson(j api.Json) api.EndPoint { - for range Only.Once { - e.Error = json.Unmarshal([]byte(j), &e.Request.RequestData) - if e.Error != nil { - break - } - e.Error = e.IsRequestValid() - if e.Error != nil { - break - } - } - return e -} - -func (e EndPoint) RequestRef() interface{} { - return e.Request -} - -func (e EndPoint) GetRequestJson() api.Json { - return api.GetAsJson(e.Request.RequestData) -} - -func (e EndPoint) IsRequestValid() error { - for range Only.Once { - req := e.GetRequest() - // req := e.Request.RequestCommon - e.Error = req.RequestCommon.IsValid() - if e.Error != nil { - break - } - e.Error = req.RequestData.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) SetResponse(ref []byte) api.EndPoint { - for range Only.Once { - // r := e.GetResponse() - // e.Error = json.Unmarshal(ref, &r) - e.Error = json.Unmarshal(ref, &e.Response) - if e.Error != nil { - break - } - // e.ResponseCommon = r - } - return e -} - -func (e EndPoint) GetResponseJson() api.Json { - return api.GetAsPrettyJson(e.Response) -} - -func (e EndPoint) ResponseRef() interface{} { - return e.Response -} - -func (e EndPoint) IsResponseValid() error { - for range Only.Once { - // resp := e.GetResponse() - // e.Error = resp.ResponseCommon.IsValid() - e.Error = e.Response.ResponseCommon.IsValid() - if e.Error != nil { - break - } - } - return e.Error -} - -func (e EndPoint) String() string { - return api.GetEndPointString(e) -} - -func (e EndPoint) RequestString() string { - return api.GetRequestString(e.Request) -} - -func (e EndPoint) ResponseString() string { - return api.GetRequestString(e.Response) -} - -func (e EndPoint) MarshalJSON() ([]byte, error) { - return api.MarshalJSON(e) -} diff --git a/iSolarCloud/sungro/add.sh b/iSolarCloud/sungro/add.sh index 1b2051f03..ffefb5fd2 100755 --- a/iSolarCloud/sungro/add.sh +++ b/iSolarCloud/sungro/add.sh @@ -1,25 +1,50 @@ #!/bin/bash -DEST="$1" -if [ "${DEST}" == "" ] +AREA="$1" +if [ "${AREA}" == "" ] +then + echo "Need a destination area" + exit +fi + +NAME="$2" +if [ "${NAME}" == "" ] then echo "Need a destination endpoint" exit fi -mkdir "${DEST}" - -if [ ! -f "${DEST}/data.go" ] +URL="$3" +if [ "${URL}" == "" ] then - perl -pe "s/nullEndPoint/${DEST}/g" nullEndPoint/data.go > "${DEST}/data.go" -else - echo "${DEST}/data.go exists" + echo "Need an endpoint url" + exit fi -if [ ! -f "${DEST}/struct.go" ] + + +DIRNAME="$(realpath "${AREA}/${NAME}")" +TEMPLATE="$(realpath "../api/nullEndPoint/")" + +if [ ! -d "${DIRNAME}" ] then - perl -pe "s/nullEndPoint/${DEST}/g" nullEndPoint/struct.go > "${DEST}/struct.go" + mkdir "${DIRNAME}" else - echo "${DEST}/struct.go exists" + echo "Directory ${DIRNAME} exists" + exit +fi + +if [ ! -f "${DIRNAME}/data.go" ] +then + perl -pe "s#nullEndPoint#${NAME}#g; s#%URL%#${URL}#g" ${TEMPLATE}/data.go > "${DIRNAME}/data.go" +else + echo "File ${DIRNAME}/data.go exists" +fi + +if [ ! -f "${DIRNAME}/struct.go" ] +then + perl -pe "s/nullEndPoint/${NAME}/g" ${TEMPLATE}/struct.go > "${DIRNAME}/struct.go" +else + echo "File ${DIRNAME}/struct.go exists" fi diff --git a/iSolarCloud/sungro/struct.go b/iSolarCloud/sungro/struct.go index 90a352bb2..84bd667b9 100644 --- a/iSolarCloud/sungro/struct.go +++ b/iSolarCloud/sungro/struct.go @@ -1,14 +1,13 @@ package sungro import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/sungro/AppService" - "GoSungro/iSolarCloud/sungro/AppService/login" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/sungro/AppService" + "GoSungrow/iSolarCloud/sungro/AppService/login" ) - -type SunGro struct { +type SunGrow struct { ApiRoot api.Web Auth login.EndPoint Areas api.Areas @@ -19,9 +18,8 @@ type SunGro struct { // OutputType } - -func NewSunGro(url string) *SunGro { - var p SunGro +func NewSunGro(url string) *SunGrow { + var p SunGrow p.Error = p.ApiRoot.SetUrl(url) // p.OutputType = TypeHuman @@ -31,7 +29,7 @@ func NewSunGro(url string) *SunGro { return &p } -func (sg *SunGro) Login(auth login.SunGroAuth) error { +func (sg *SunGrow) Login(auth login.SunGrowAuth) error { for range Only.Once { a := sg.GetEndpoint(AppService.GetAreaName() + ".login") sg.Auth = login.Assert(a) @@ -45,30 +43,30 @@ func (sg *SunGro) Login(auth login.SunGroAuth) error { return sg.Error } -func (sg *SunGro) GetToken() string { +func (sg *SunGrow) GetToken() string { return sg.Auth.Token() } -func (sg *SunGro) GetUserId() string { +func (sg *SunGrow) GetUserId() string { return sg.Auth.UserId() } -func (sg *SunGro) GetAppKey() string { +func (sg *SunGrow) GetAppKey() string { return sg.Auth.AppKey() } -func (sg *SunGro) GetLastLogin() string { +func (sg *SunGrow) GetLastLogin() string { return sg.Auth.LastLogin().Format(login.DateTimeFormat) } -func (sg *SunGro) GetUserName() string { +func (sg *SunGrow) GetUserName() string { return sg.Auth.UserName() } -func (sg *SunGro) GetUserEmail() string { +func (sg *SunGrow) GetUserEmail() string { return sg.Auth.Email() } -func (sg *SunGro) HasTokenChanged() bool { +func (sg *SunGrow) HasTokenChanged() bool { return sg.Auth.HasTokenChanged() } diff --git a/iSolarCloud/sungro/sungro.go b/iSolarCloud/sungro/sungrow.go similarity index 71% rename from iSolarCloud/sungro/sungro.go rename to iSolarCloud/sungro/sungrow.go index 9410a7bc0..ab2912cb7 100644 --- a/iSolarCloud/sungro/sungro.go +++ b/iSolarCloud/sungro/sungrow.go @@ -1,19 +1,19 @@ package sungro import ( - "GoSungro/Only" - "GoSungro/iSolarCloud/api" - "GoSungro/iSolarCloud/sungro/AliSmsService" - "GoSungro/iSolarCloud/sungro/AppService" - "GoSungro/iSolarCloud/sungro/MttvScreenService" - "GoSungro/iSolarCloud/sungro/PowerPointService" - "GoSungro/iSolarCloud/sungro/WebAppService" - "GoSungro/iSolarCloud/sungro/WebIscmAppService" + "GoSungrow/Only" + "GoSungrow/iSolarCloud/api" + "GoSungrow/iSolarCloud/sungro/AliSmsService" + "GoSungrow/iSolarCloud/sungro/AppService" + "GoSungrow/iSolarCloud/sungro/MttvScreenService" + "GoSungrow/iSolarCloud/sungro/PowerPointService" + "GoSungrow/iSolarCloud/sungro/WebAppService" + "GoSungrow/iSolarCloud/sungro/WebIscmAppService" "errors" "strings" ) -func (sg *SunGro) Init() error { +func (sg *SunGrow) Init() error { for range Only.Once { sg.Areas = make(api.Areas) @@ -28,11 +28,11 @@ func (sg *SunGro) Init() error { return sg.Error } -func (sg *SunGro) AppendUrl(endpoint string) api.EndPointUrl { +func (sg *SunGrow) AppendUrl(endpoint string) api.EndPointUrl { return sg.ApiRoot.AppendUrl(endpoint) } -func (sg *SunGro) GetEndpoint(ae string) api.EndPoint { +func (sg *SunGrow) GetEndpoint(ae string) api.EndPoint { var ep api.EndPoint for range Only.Once { area, endpoint := sg.SplitEndPoint(ae) @@ -59,7 +59,7 @@ func (sg *SunGro) GetEndpoint(ae string) api.EndPoint { return ep } -func (sg *SunGro) SplitEndPoint(ae string) (string, string) { +func (sg *SunGrow) SplitEndPoint(ae string) (string, string) { var area string var endpoint string @@ -85,17 +85,17 @@ func (sg *SunGro) SplitEndPoint(ae string) (string, string) { return area, endpoint } -func (sg *SunGro) ListEndpoints(area string) error { +func (sg *SunGrow) ListEndpoints(area string) error { return sg.Areas.ListEndpoints(area) } -func (sg *SunGro) ListAreas() { +func (sg *SunGrow) ListAreas() { sg.Areas.ListAreas() } -func (sg *SunGro) AreaExists(area string) bool { +func (sg *SunGrow) AreaExists(area string) bool { return sg.Areas.Exists(area) } -func (sg *SunGro) AreaNotExists(area string) bool { +func (sg *SunGrow) AreaNotExists(area string) bool { return sg.Areas.NotExists(area) } diff --git a/main.go b/main.go index ff222007f..0d4128811 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "GoSungro/Only" - "GoSungro/cmd" + "GoSungrow/Only" + "GoSungrow/cmd" "fmt" "os" ) diff --git a/mmGit/gitFilesystem.go b/mmGit/gitFilesystem.go index 47c662878..2622c127b 100644 --- a/mmGit/gitFilesystem.go +++ b/mmGit/gitFilesystem.go @@ -1,7 +1,7 @@ package mmGit import ( - "GoSungro/Only" + "GoSungrow/Only" "bufio" "context" "errors" diff --git a/mmGit/gitInMemory.go b/mmGit/gitInMemory.go index 2ba7f161d..e16a76cc8 100644 --- a/mmGit/gitInMemory.go +++ b/mmGit/gitInMemory.go @@ -1,7 +1,7 @@ package mmGit import ( - "GoSungro/Only" + "GoSungrow/Only" "fmt" memfs "github.com/go-git/go-billy/v5/memfs" git "github.com/go-git/go-git/v5" diff --git a/mmGit/struct.go b/mmGit/struct.go index 994c51cec..b094e5762 100644 --- a/mmGit/struct.go +++ b/mmGit/struct.go @@ -1,7 +1,7 @@ package mmGit import ( - "GoSungro/Only" + "GoSungrow/Only" "errors" "github.com/go-git/go-billy/v5" "github.com/go-git/go-git/v5" diff --git a/mmGit/utils.go b/mmGit/utils.go index 9f9e1c580..fd750d0e9 100644 --- a/mmGit/utils.go +++ b/mmGit/utils.go @@ -1,7 +1,7 @@ package mmGit import ( - "GoSungro/Only" + "GoSungrow/Only" "crypto/md5" "encoding/hex" "errors"